Bugzilla – Attachment 190285 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: (QA follow-up) use L flag to stop the rewrite after PT action
6e4f9d0.patch (text/plain), 1.31 KB, created by
Martin Renvoize (ashimema)
on 2025-12-08 12:28:41 UTC
(
hide
)
Description:
Bug 40993: (QA follow-up) use L flag to stop the rewrite after PT action
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-12-08 12:28:41 UTC
Size:
1.31 KB
patch
obsolete
>From 6e4f9d0ab5dddd5c29966683a4a1cf36edc40702 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Tue, 21 Oct 2025 04:56:42 +0000 >Subject: [PATCH] Bug 40993: (QA follow-up) use L flag to stop the rewrite > after PT action > >Signed-off-by: David Cook <dcook@prosentient.com.au> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > debian/templates/apache-shared-intranet.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/templates/apache-shared-intranet.conf b/debian/templates/apache-shared-intranet.conf >index 0b8aa401794..54155faef88 100644 >--- a/debian/templates/apache-shared-intranet.conf >+++ b/debian/templates/apache-shared-intranet.conf >@@ -15,7 +15,7 @@ ScriptAlias /search "/usr/share/koha/intranet/cgi-bin/catalogue/search.pl" > RewriteEngine on > 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 [PT] >+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.52.0 >
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