]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1892435 Splash page catalog searches don't work with spaces user/dbriem/lp1892435_splash_page_search_double_escaped
authorDan Briem <dbriem@wlsmail.org>
Mon, 10 May 2021 02:27:38 +0000 (22:27 -0400)
committerDan Briem <dbriem@wlsmail.org>
Mon, 10 May 2021 02:27:38 +0000 (22:27 -0400)
commit4bceb7b08c562f2336dd542459b3a59222afba95
treed7a484b1a390fbf7f644f801f884b59cb7a494ac
parent9eae8a68f3012f2016dfe9c5ab3fc23e818307b3
LP#1892435 Splash page catalog searches don't work with spaces

On older versions of Apache's mod_rewrite, splash page catalog
searches are escaped in JavaScript and escaped again during the
redirect to the Angular locale path, so searches with special
characters result in a search that's still encoded.

Test on Ubuntu 16.04.7, Apache 2.4.18, EG 3.6+. A splash page
catalog search for Harry Potter results in a search for
Harry%20Potter.

Add the NE (noescape) flag to the Angular locale path redirect
in /etc/apache2/eg_vhost.conf as indicated in this example file.
A splash page search for Harry Potter then works as expected.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Open-ILS/examples/apache_24/eg_vhost.conf.in