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

            Assignee:
            brian.chan Brian Chan
            Reporter:
            samuel.kong Samuel Kong
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 29 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 CE RC1