Bug 15045 - URLs should be built using PATH_INFO and SCRIPT_NAME
Summary: URLs should be built using PATH_INFO and SCRIPT_NAME
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: master
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-21 14:00 UTC by Tomás Cohen Arazi
Modified: 2023-08-27 23:59 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomás Cohen Arazi 2015-10-21 14:00:03 UTC
Currently, Koha has different ways of building the URI path when rendering links. Some of them are hardcoded, some rely on $cgi->url.

We need to calculate them correctly to support arbitrary places to put Koha's intefaces in.
Comment 1 Katrin Fischer 2023-08-27 14:05:23 UTC
Hi Tomas, can you explain a bit more what needs to be done here?
Comment 2 David Cook 2023-08-27 23:59:33 UTC
Do you mean something like Catalyst's "uri_for"? 

https://metacpan.org/pod/Catalyst#$c-%3Euri_for(-$path?,-@args?,-%5C%25query_values?,-%5C$fragment?-)