GitHub user jrnorth opened a pull request:

    https://github.com/apache/tika/pull/57

    Fix for TIKA-1763

    -Prevents a StringIndexOutOfBoundsException by checking the result of a
    call to lastIndexOf() before using it in a call to substring().
    -Adds unit tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jrnorth/tika trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tika/pull/57.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #57
    
----
commit 807302f2775d9ee6a6a9f3820665330edc163d88
Author: Joseph North <[email protected]>
Date:   2015-10-05T17:12:54Z

    Fix for TIKA-1763
    
    -Prevents a StringIndexOutOfBoundsException by checking the result of a
    call to lastIndexOf() before using it in a call to substring().
    -Adds unit tests.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to