Koha/debian
David Cook 181125242c Bug 25548: Remove Apache rewrite directives that trigger redirects
Historically, we have used Apache rewrite directives to strip
query parameters with no arguments from the query
string (e.g. PARAM=&), and then redirect to the new URL.

However, this slows down user activity, and depending on your
HTTPS and proxy setup can cause suboptimal HTTP downgrades and
upgrades.

Test Plan:
0) Apply patch
1) Build Debian package
2) Install Debian package and reload Apache
3) Open developer tools on your favourite browser
4) Go to Network tab in developer tools
5) Go to /cgi-bin/koha/opac-main.pl
6) Search for "test"
7) Note a 200 status for "opac-search.pl?idx=&q=test"

If you got a 302 status for "opac-search.pl?idx=&q=test"
followed by a 200 status for "opac-search.pl?q=test", you
will know that your Apache configuration wasn't updated.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-20 14:23:52 +01:00
..
docs Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
scripts Bug 21111: Add --exclude-indexes to koha-run-backups 2020-11-04 12:59:34 +01:00
source
templates Bug 25548: Remove Apache rewrite directives that trigger redirects 2020-11-20 14:23:52 +01:00
bd-to-depends
build-git-snapshot
changelog
compat
control Bug 17084: Automatic debian/control updates (master) 2020-10-14 15:53:11 +02:00
control.in Bug 26702: Remove explicit libnet-stomp-perl from debian/control.in 2020-11-02 11:03:09 +01:00
copyright Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
koha-common.bash-completion
koha-common.config
koha-common.cron.d
koha-common.cron.daily Bug 24153: Add the confirm flag to the crontab calls 2020-07-20 16:08:22 +02:00
koha-common.cron.hourly
koha-common.cron.monthly
koha-common.default
koha-common.dirs
koha-common.docs
koha-common.init Bug 22417: Add debian script koha-worker 2020-10-05 15:22:44 +02:00
koha-common.install Bug 22417: Add koha-worker to koha-common.install 2020-10-05 16:20:51 +02:00
koha-common.links
koha-common.logrotate
koha-common.postinst Bug 22417: Update packaging files 2020-10-05 15:30:02 +02:00
koha-common.preinst Bug 25485: Remove tiny_mce symlink during pre install of deb package 2020-05-20 09:15:13 +01:00
koha-common.README.Debian
koha-common.templates
koha-post-install-setup
koha.apache-ports
koha.config
koha.dirs
koha.install
koha.postinst
koha.postrm
koha.prerm
koha.README.Debian
list-deps Bug 25898: Fix indirect object notation in debian/list-deps 2020-10-26 16:01:52 -03:00
README.build
rules Bug 20582: Turn Koha into a Mojolicious application 2020-10-08 13:51:30 +02:00
unavailable.html
update-control

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.