Bugzilla – Attachment 191367 Details for
Bug 40993
Do not allow direct calls of value_builder scripts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40993: (follow-up) Add changes to etc/koha-httpd.conf
Bug-40993-follow-up-Add-changes-to-etckoha-httpdco.patch (text/plain), 1.08 KB, created by
Marcel de Rooy
on 2026-01-13 15:56:28 UTC
(
hide
)
Description:
Bug 40993: (follow-up) Add changes to etc/koha-httpd.conf
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2026-01-13 15:56:28 UTC
Size:
1.08 KB
patch
obsolete
>From d9ff157cd0b554f2cccaddf186e31283ee19e8a1 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Tue, 13 Jan 2026 16:54:49 +0100 >Subject: [PATCH] Bug 40993: (follow-up) Add changes to etc/koha-httpd.conf >Content-Type: text/plain; charset=utf-8 > >Good to have a test :) > >Test plan: >Run xt/check_apache_conf.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > etc/koha-httpd.conf | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index d8254d6bf0..367d3bce8f 100644 >--- a/etc/koha-httpd.conf >+++ b/etc/koha-httpd.conf >@@ -226,6 +226,8 @@ > > # Protect dev install > RewriteRule ^/cgi-bin/koha/(C4|debian|docs|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] >+ # Do not allow hitting value_builder pages directly >+ RewriteRule ^/cgi-bin/koha/cataloguing/value_builder/ /cgi-bin/koha/errors/403.pl [L,PT] > > RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/catalogue/detail.pl?biblionumber=$1 [PT] > RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT] >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40993
:
187723
|
188185
|
188186
|
188187
|
190284
|
190285
| 191367 |
191368