[Koha-bugs] [Bug 25548] New: Package install Apache performs unnecessary redirects
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 20 02:21:56 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25548
Bug ID: 25548
Summary: Package install Apache performs unnecessary redirects
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: dcook at prosentient.com.au
QA Contact: testopia at bugs.koha-community.org
Package install Apache performs unnecessary redirects using the following
directives:
RewriteCond %{QUERY_STRING} (.*?)(?:[A-Za-z0-9_-]+)=&(.*)
RewriteRule (.+) $1?%1%2 [N,R,NE]
These directives were removed from etc/koha-httpd.conf many years ago, but they
still persist in the Debian Apache templates.
It means that every simple search to /cgi-bin/koha/opac-search.pl from the
masthead will redirect from /cgi-bin/koha/opac-search.pl?idx=&q=blah to
/cgi-bin/koha/opac-search.pl?q=blah.
It's OK if we have idx= in the URL.
Let's reduce the amount of HTTP traffic we're generating.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list