https://bz.apache.org/bugzilla/show_bug.cgi?id=63002

            Bug ID: 63002
           Summary: QSD in RewriteRule doesn't work
           Product: Tomcat 8
           Version: 8.5.35
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: melvind...@gmail.com
  Target Milestone: ----

Hi there, 

QSD flag added to any RewriteRule doesn't work. 

RewriteRule ^/app1/(.*)$ /app1/rewrite.jsp [L,QSD]

this is my only line in rewrite.config, When I give
http://localhost:8080/app1/test.jsp?value=single as the request, the ideal
behaviour must discard the querystring and go to rewrite.jsp.

But it doesn't and I found the cause. Hope 1845673 is the revision of tomcat
8.5.35. In java/org/apache/catalina/valves/rewrite/RewriteValve.java line 785,
rule is set for qsAppend instead of qsDiscard. Do the needful.

Regards,

Melvin A

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to