Description of problem: The -d, -f, -s rewrite valve file tests do not work. The ResourceCondition is simply coded to always return true. Version-Release number of selected component (if applicable): 7.5.12 How reproducible: Always Steps to Reproduce: 1.Configure a rewrite valve that's conditioned with -s: <rewrite name="rule-1" pattern="^/app/(.*)" substitution="/app/redirect.jsp" flags="RL"> <condition name="condition-1" test="%{REQUEST_PATH}" pattern="!-s"/> </rewrite> 2. Note that this redirects all requests, but it should only redirect requests to non-existent files. Actual results: ResourceCondition always returns true. Expected results: ResourceCondition only returns true as expected if the file exists. Additional info:
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions
r2649, for some reason it wasn't ported earlier from Tomcat.
Verified with EAP 6.4.8.CP.CR2
Retroactively bulk-closing issues from released EAP 6.4 cumulative patches.