[Koha-bugs] [Bug 28603] check-url-quick.pl does not encode spaces in urls

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 18 22:35:11 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28603

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122177|0                           |1
        is obsolete|                            |

--- Comment #2 from David Nind <david at davidnind.com> ---
Created attachment 122182
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122182&action=edit
Bug 28603: Encode spaces in urls in url checker

To test:
1 - Add a url to a record like:
   
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?idx=ti&q=street%20shuffle
2 - perl misc/cronjobs/check-url-quick.pl -v > test.txt
3 - grep shuffle test.txt
4 - 303 http://localhost:8081/cgi-bin/koha/catalogue/search.pl?idx=ti&q=street
shuffle  596 Connection timed out
5 - Apply patch
6 - perl misc/cronjobs/check-url-quick.pl -v > test.txt
7 - grep shuffle test.txt
8 - 303
http://localhost:8081/cgi-bin/koha/catalogue/search.pl?idx=ti&q=street%20shuffle
       200 OK

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list