[ 
https://issues.apache.org/jira/browse/LANG-1406?focusedWorklogId=439358&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-439358
 ]

ASF GitHub Bot logged work on LANG-1406:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Jun/20 06:39
            Start Date: 01/Jun/20 06:39
    Worklog Time Spent: 10m 
      Work Description: kinow commented on pull request #340:
URL: https://github.com/apache/commons-lang/pull/340#issuecomment-636642377


   Oh, actually the issue has been closed in #423! Closing the PR, but thanks 
for your contribution @HiuKwok  !


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 439358)
    Time Spent: 4h  (was: 3h 50m)

> StringIndexOutOfBoundsException in StringUtils.replaceIgnoreCase()
> ------------------------------------------------------------------
>
>                 Key: LANG-1406
>                 URL: https://issues.apache.org/jira/browse/LANG-1406
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.*
>            Reporter: Michael Ryan
>            Priority: Major
>             Fix For: 3.10
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> STEPS TO REPRODUCE:
> {code}
> StringUtils.replaceIgnoreCase("\u0130x", "x", "")
> {code}
> EXPECTED: "\u0130" is returned.
> ACTUAL: StringIndexOutOfBoundsException
> This happens because the replace method is assuming that text.length() == 
> text.toLowerCase().length(), which is not true for certain characters.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to