Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20236

[GSS](7.3.z) UNDERTOW-1788 - %r and %U in access log still output forwarded URL if forwarded URL is then dispatched to error page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.3.4.CR1, 7.3.4.GA
    • 7.3.2.GA
    • Undertow
    • None
    • False
    • False
    • Undefined
    • Hide

      -Start JBoss with access log enabled
      -Deploy app
      -Request /ut1788/hi.jsp (forwards to new page, which then induces error)
      -Note /ut1788/hi.jsp is not logged in the access log for the request

      Show
      -Start JBoss with access log enabled -Deploy app -Request /ut1788/hi.jsp (forwards to new page, which then induces error) -Note /ut1788/hi.jsp is not logged in the access log for the request

    Description

      %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.

      Attachments

        Issue Links

          Activity

            People

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-support-aogburn Aaron Ogburn
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: