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

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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

            Bug ID: 28603
           Summary: check-url-quick.pl does not encode spaces in urls
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Command-line Utilities
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email]

To recreate:
1 - Add an 856$u to a record with:
    http://localhost:8081/cgi-bin/koha/catalogue/search.pl?idx=ti&q=street
shuffle
2 - perl misc/cronjobs/check-url-quick.pl > test.txt 2>&1
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
          'URL' =>
'http://localhost:8081/cgi-bin/koha/catalogue/search.pl?idx=ti&q=street
shuffle'
303     http://localhost:8081/cgi-bin/koha/catalogue/search.pl?idx=ti&q=street
shuffle  596 Connection timed out

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

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

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

Nick Clemens <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28603

--- Comment #1 from Nick Clemens <[hidden email]> ---
Created attachment 122177
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=122177&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

--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28603

Nick Clemens <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|[hidden email]-commun |[hidden email]
                   |ity.org                     |

--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28603

David Nind <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Signed Off

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/
Reply | Threaded
Open this post in threaded view
|

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

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28603

David Nind <[hidden email]> changed:

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

--- Comment #2 from David Nind <[hidden email]> ---
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 <[hidden email]>

--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[hidden email]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/