Bug 15045

Summary: URLs should be built using PATH_INFO and SCRIPT_NAME
Product: Koha Reporter: Tomás Cohen Arazi <tomascohen>
Component: Architecture, internals, and plumbingAssignee: Galen Charlton <gmcharlt>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, josef.moravec
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15005
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

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?-)