Bug 24014 - Return to last Advanced Search link incorrectly encoded
Summary: Return to last Advanced Search link incorrectly encoded
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: 18.11
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-11 21:31 UTC by David Roberts
Modified: 2020-11-30 21:45 UTC (History)
0 users

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Crowdfunding committed: 0
Crowdfunding contact:
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Roberts 2019-11-11 21:31:42 UTC
After performing an advanced search in the opac, if you click on the link to return to the last Advanced Search it is incorrectly encoded and results in a 404 page error. 

Changing line 117 of opac-results.tt from

<p><a href="[% ReturnPath | uri %]">Return to the last advanced search</a></p>

to 

<p><a href="[% ReturnPath | $raw %]">Return to the last advanced search</a></p>

corrects the problem.
Comment 1 Katrin Fischer 2019-11-24 14:11:01 UTC
It's now:
<p><a href="[% ReturnPath | url %]

This seems to work well in my tests. Marking "WORKSFORME".