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

%r and %U in access log still output forwarded URL if forwarded URL is then dispatched to error page

XMLWordPrintable

      %r and %U in the access log still output the forwarded URL if the forwarded URL is then dispatched to error page. This flow results in RequestDispatcher.FORWARD_REQUEST_URI containing the original URI and RequestDispatcher.ERROR_REQUEST_URI containing the forwarded URI that hit the error. ServletRequestURLAttribute prefers returning the ERROR_REQUEST_URI first to cause that so it should return the FORWARD_REQUEST_URI first instead.

            flaviarnn Flavia Rainone
            rhn-support-aogburn Aaron Ogburn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: