Comment 18 for bug 1892435

Revision history for this message
Dan Briem (dbriem) wrote :

I couldn't replicate this on a test server until I ran an older version of Apache, Ubuntu 16.04.7, Apache 2.4.18, Evergreen 3.6.3. The Angular locale path redirect request is the original escaped query, but the resulting response location header is double escaped.

It looks like mod_rewrite used to escape special characters in query strings by default, but newer versions don't: https://github.com/apache/httpd/commit/c1922e4d0c6472e3debe38d321697788c15b04d6. I don't know if this accounts for everyone's experience with this issue, but I couldn't replicate it on recent versions of Apache.

A potential solution is to add the NE (noescape) flag (https://httpd.apache.org/docs/current/rewrite/flags.html#flag_ne) to the Angular locale path redirect in eg_vhost.conf.

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbriem/lp1892435_splash_page_search_double_escaped