Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-62628

Invalid % character in URL causes exception

Details

    Description

      http://localhost:8080/?id=% will cause URLCode#decodeURL to throw an IllegalArgumentException

      To reproduce

      curl -i 'http://localhost:8080/?id=%'

      And then check the console.

      Note: You cannot just type the above URL into the browser because the browser will automatically convert the % to %25.

      Attachments

        1. failed.png
          failed.png
          35 kB
        2. fixed.png
          fixed.png
          133 kB
        3. reproduced.png
          reproduced.png
          94 kB

        Activity

          People

            brian.chan Brian Chan
            samuel.kong Samuel Kong
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 30 weeks, 3 days ago

              Packages

                Version Package
                7.0.0 CE RC1