[jira] Created: (SOLR-87) StrUtils.splitSmart and splitWS didn't correctly escape special chars \n\t\r\b\f

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (SOLR-87) StrUtils.splitSmart and splitWS didn't correctly escape special chars \n\t\r\b\f

Tim Allison (Jira)
StrUtils.splitSmart and splitWS didn't correctly escape special chars \n\t\r\b\f
--------------------------------------------------------------------------------

                 Key: SOLR-87
                 URL: http://issues.apache.org/jira/browse/SOLR-87
             Project: Solr
          Issue Type: Bug
            Reporter: Yonik Seeley
            Priority: Minor


switch statements accidentally fell through.
Found by http://opensource.fortifysoftware.com
The only place that decode=true was reading a synonym file, and it's very unlikely to specify those special chars in synonyms.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-87) StrUtils.splitSmart and splitWS didn't correctly escape special chars \n\t\r\b\f

Tim Allison (Jira)
     [ http://issues.apache.org/jira/browse/SOLR-87?page=all ]

Yonik Seeley resolved SOLR-87.
------------------------------

    Resolution: Fixed

Fixed.

> StrUtils.splitSmart and splitWS didn't correctly escape special chars \n\t\r\b\f
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-87
>                 URL: http://issues.apache.org/jira/browse/SOLR-87
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Priority: Minor
>
> switch statements accidentally fell through.
> Found by http://opensource.fortifysoftware.com
> The only place that decode=true was reading a synonym file, and it's very unlikely to specify those special chars in synonyms.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira