[Koha-bugs] [Bug 29257] Redundant slash in the URL appear during item level hold placing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 17 16:49:52 CEST 2021


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

Andrii Veremeienko <andriiverem at gmail.com> changed:

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

--- Comment #3 from Andrii Veremeienko <andriiverem at gmail.com> ---
Created attachment 126411
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126411&action=edit
Bug 29257: Redundant slash in the URL appear during item level hold placing

The solution was to get rid of adding slash to $biblionumbers directly and
join slash only in place when it's needed.

How to test:
1. Search for an item;
2. Select single item, click 'Place hold';
3. Enter a patron card number;
4. Complete hold placing by clicking 'Place hold';
5. Note that after redirection to URL ended with slash (after biblionumber):
e.g.: `request.pl?biblionumbers=233/`
6. Apply the patch
7. Repeat steps 1-4
8 Note that after redirection to the page with hold list, URL doesn't contain
slash after biblionumber parameter:
e.g.: `request.pl?biblionumbers=233

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


More information about the Koha-bugs mailing list