Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1404

Need Bad Request handling of AJP for UT000072

    XMLWordPrintable

Details

    Description

      UT000072 exception is not handled as Bad Request on ajp-listener process. It needs Bad Request handling like a UNDERTOW-1021.

      12:08:24,775 ERROR [io.undertow.request] (default I/O-3) UT005001: An exception occurred processing the request: java.lang.IllegalArgumentException: UT000072: Failed to decode url aaa%http to charset UTF-8
              at io.undertow.util.URLUtils.decode(URLUtils.java:152)
              at io.undertow.util.URLUtils$QueryStringParser.decode(URLUtils.java:273)
              at io.undertow.util.URLUtils$QueryStringParser.parse(URLUtils.java:256)
              at io.undertow.util.URLUtils.parseQueryString(URLUtils.java:53)
              at io.undertow.server.protocol.ajp.AjpRequestParser.parse(AjpRequestParser.java:420)
              at io.undertow.server.protocol.ajp.AjpReadListener.handleEvent(AjpReadListener.java:169)
              at io.undertow.server.protocol.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:143)
              at io.undertow.server.protocol.ajp.AjpOpenListener.handleEvent(AjpOpenListener.java:52)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:291)
              at org.xnio.ChannelListeners$10.handleEvent(ChannelListeners.java:286)
              at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
              at org.xnio.nio.QueuedNioTcpServer$1.run(QueuedNioTcpServer.java:131)
              at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
              at org.xnio.nio.WorkerThread.run(WorkerThread.java:479)
      

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              thofman Tomas Hofman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: