]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Less aggressive URL encoding
authorDan Scott <dan@coffeecode.net>
Tue, 3 May 2011 21:08:59 +0000 (17:08 -0400)
committerDan Scott <dan@coffeecode.net>
Tue, 3 May 2011 21:08:59 +0000 (17:08 -0400)
commitccbb9eef0e2d10aa46cf09a077bae904de8a39db
treef41a3c9d90272fdfe2c4194caab164721cbabf40
parentc88c0ac5f43a408bca0fe337991517edc3aef2c1
Less aggressive URL encoding

We were double-encoding URIs, as the url and uri filters in
TT happily encode % - which is fine the first time around,
but after you've already escaped everything as %nn the propagator
was serving it back to url to be escaped again on the following
page request.

The right way to do this might be to unescape the incoming query
string, then pass it on to url for escaping again - but for now,
using the entity version of & is good enough to begin with.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Open-ILS/web/templates/default/opac/parts/header.tt2