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

(7.1.0) access log in extended mode with 'cs-uri-query' identifier logs also '?' character

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR5
    • 7.0.1.GA
    • Undertow
    • None
    • Hide

      1. Start EAP and connect to CLI
      2. /subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(extended=true,pattern="cs-uri-query")
      3. reload
      4. perform request on server with some query, e.g.: http://localhost:8080/?dummy=value and see content in EAP_HOME/standalone/log/access_log.log file

      Show
      1. Start EAP and connect to CLI 2. /subsystem=undertow/server=default-server/host=default-host/setting=access-log:add(extended=true,pattern="cs-uri-query") 3. reload 4. perform request on server with some query, e.g.: http://localhost:8080/?dummy=value and see content in EAP_HOME/standalone/log/access_log.log file

      When using access log in extended mode with 'cs-uri-query' identifier, then there is also '?' character included in the logged string, e.g.:

      used URL: localhost:8080/?thisis=sparta
      logged line in access-log: ?thisis=sparta
      expected line in access-log: thisis=sparta
      

      I believe that '?' character should not be part of logged message. Also in EAP6 '?' character was not part of it.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              jstourac@redhat.com Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: