https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34052
Bug ID: 34052
Summary: Incomplete relative URL to subscription-detail.pl
breaks navigation
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Serials
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
On the serials-collection.pl page, there is a same-directory relative link to
"subscription-detail.pl" under the "Subscription num." column.
Most of the time this isn't a problem, but when you delete a serial, it sends
you to a URL like this:
http://localhost:8081/cgi-bin/koha/serials/serials-collection.pl/?op=delete_confirmed&biblionumber=1&subscriptionid=1&serialid=1#
That relative URL will be interpreted as the following:
http://localhost:8081/cgi-bin/koha/serials/serials-collection.pl/subscription-detail.pl?subscriptionid=1
Instead of generating an error, this actually loads the
http://localhost:8081/cgi-bin/koha/serials/serials-collection.pl page. The
/subscription-detail.pl would be just added to the PATH_INFO on the server.
The solution is to use a root-relative URL like we do everywhere else (e.g.
/cgi-bin/koha/serials/subscription-detail.pl)
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/