I've tried different AllowEncodedSlashes settings to make my Jenkins work with Apache ProxyPass, but url like http://myjenkins.url/job/matrixUrlProblem/PATH=%2FmyPath%2Ffile1/ is changed depending on AllowEncodedSlashes setings to: * /job/matrixUrlProblem/PATH=%252FmyPath%252Ffile1/ (with "NoDecode") * /job/matrixUrlProblem/PATH=/myPath/file1/ (with "On") ... and both are rejected by Jenkins Is it possible to turn off "%2f" handling completely? How about some "NoDecodeAndNoEncodeEither" option? ;)
I also reported this issue to Jenkins devs: https://issues.jenkins-ci.org/browse/JENKINS-55656
(In reply to Robert Osowiecki from comment #0) > * /job/matrixUrlProblem/PATH=%252FmyPath%252Ffile1/ (with "NoDecode") It's not httpd that encodes %2F to %252F (it should be preserved), so Jenkins is not being consistent here it seems since it double encodes its own %2F. Hm?
Wait, I spoke too soon, you probably need to SetEnv[If] "proxy-nocanon" for our case.
Correction again, the "nocanon" I'm talking about is not to be set by SetEnv[If] but on the ProxyPass line, like "ProxyPass .... nocanon".
I've tried "nocanon" option and it works :) Thanks Yann! I'm very glad my issue haven't stuck in "blame game" between Apache and Jenkins. As their advocate I'd say the reason for this inconsistency is / works as workspace path separator and slashes in values need to be encoded to avoid confusion. My best regards, Robert