[Koha-bugs] [Bug 25548] Package install Apache performs unnecessary redirects

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 8 11:21:46 CEST 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org,
                   |                            |nick at bywatersolutions.com,
                   |                            |tomascohen at gmail.com
         Depends on|                            |18669
             Status|Passed QA                   |In Discussion

--- Comment #15 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Hum, funny how this one and bug 7607 end up PQA at the same time.
I won't push both as this one will fix the problem from bug 7607.

(In reply to David Cook from comment #0)
> 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. 

However this is not only having ONE idx=, an adv search will become

/cgi-bin/koha/catalogue/search.pl?advsearch=1&idx=kw&q=ti&idx=kw&q=&idx=kw&q=&limit=&limit=&limit=&limit=&limit=&sort_by=relevance

That's starting to be ugly.

was: 
/cgi-bin/koha/catalogue/search.pl?advsearch=1&idx=kw&q=ti&idx=kw&idx=kw&sort_by=relevance

This has been an historical behaviour, how can we know it won't impact people?

At the minimum we should comment them I'd say.

Tomas, Nick, what are your thoughts on this one?


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18669
[Bug 18669] RewriteCond affecting wrong rule in koha-httpd.conf
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list