[Koha-bugs] [Bug 21770] t::lib::QA::TemplateFilters should allow html_entity in href
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 6 14:36:01 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21770
--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 81980
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=81980&action=edit
Bug 21770: t::lib::QA::TemplateFilters should allow html_entity in href
Bug 21740 highlighted the situation in which the href is not a link (and
thus requiring to be URI/URL encoded). This was fixed on the bug, but
the xt/find-missing-filters.t tests fail on it, becuase they enforce
uri filters on href without exceptions.
This patch adds the exception for those href's starting with '#'
To test:
- Run:
$ kshell
k$ prove xt/find-missing-filters.t
=> FAIL: Tests fail
- Apply this patch
- Run:
k$ prove xt/find-missing-filters.t
=> SUCCESS: Tests pass!
- Sign off :-D
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list