Skip to content

StringIndexOutOfBoundsException thrown for malformed expressions #62

@zhongkechen

Description

@zhongkechen

StringIndexOutOfBoundsException is thrown if the expression is ended with a partial escaped character like beow

$substring("input", "\

The issue is in Tokenizer.java line 250 where it calls charAt without checking the boundary

position++;
currentChar = path.charAt(position);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions