[ 
https://issues.apache.org/jira/browse/SOLR-8308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson updated SOLR-8308:
---------------------------------
    Attachment: SOLR-8308.patch

Patch with tests. Did you know we didn't have any test for a core rename?

Anyway, first Git patch so let's see if I did it right. 

precommit and test pass, does anyone see any reason not to commit? This changes 
one bit of behavior, you can't rename with bogus core names. It does _not_ 
affect cores that already exist with bogus names though, so shouldn't break 
existing installations.

> Core gets inaccessible after RENAME operation with special characters
> ---------------------------------------------------------------------
>
>                 Key: SOLR-8308
>                 URL: https://issues.apache.org/jira/browse/SOLR-8308
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Adam Johnson
>            Assignee: Erick Erickson
>         Attachments: SOLR-8308.patch, SOLR-8308.patch, SOLR-8308.patch, 
> SOLR-8308.patch
>
>
> You can rename a core using the following modified URL 
> https://SOLR:PORT/solr/admin/cores?wt=json&indexInfo=false&action=RENAME&core=test_app_shared2_replica2&other=%3Csvg+onload%3Dalert(1)%3E&_=1445468005152.
>  The core becomes inaccessible / unusable.  There should be more form 
> validation to the core name assignment



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to