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

Pagination Start Parameter Name will return an error using special characters

    Details

    • Fix Priority:
      3

      Description

      Summary:

      Pagination Start Parameter Name will return an error using special characters

      Steps to reproduce:

      1. Go to Search Result widget
      2. Go to Configurations
      3. Change pagination start parameter name using Japanese characters
      4. Change Pagination Delta 1
      5. Save
      6. Add at least 2 contents
      7. Search Bar
        1. test
      8. Select 2nd results page

      Expected Result:

      Successfully returns second results page

      Actual Result:

      HTTP Status 400 - Bad Request

      java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
      	org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:467)
      	org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:294)
      	org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      	org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
      	org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
      	org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	java.lang.Thread.run(Thread.java:748)
      

      Reproduced on:

      Tomcat 9.0.17 + MySQL 5.7

      Commit: cb86f281f9df4768a47fa0d489c18e9f2085d573

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  12 weeks, 5 days ago

                  Packages

                  Version Package