Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1871

org.apache.wicket.util.string.Strings#stripJSessionId StringIndexOutOfBoundsException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4
    • Fix Version/s: 1.3.6, 1.4-RC2
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      windows XP, jetty

      Description

      input:
      http://abc.com/xx/yy.html?code=a%E2%8C%A9=en&section=DDD&d=173amp;

      passing the about input to method

      org.apache.wicket.util.string.Strings#stripJSessionId

      will introduce StringIndexOutOfBoundsException

      because "?" appears before ";"

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              ywtsang ywtsang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: