Bugzilla – Attachment 188187 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
Bug-40993-QA-follow-up-use-L-flag-to-stop-the-rewr.patch (text/plain), 1.24 KB, created by
David Cook
on 2025-10-21 04:58:24 UTC
(
hide
)
Description:
Bug 40993: (QA follow-up) use L flag to stop the rewrite after PT action
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-10-21 04:58:24 UTC
Size:
1.24 KB
patch
obsolete
>From b116fccb8cee35af99afe2b0b64b0fe821174432 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> >--- > 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 d8ee24e10f..887174b7ea 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.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