Bugzilla – Attachment 163141 Details for
Bug 24879
Add missing authentication checks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24879: Adjust tests
Bug-24879-Adjust-tests.patch (text/plain), 1.33 KB, created by
Jonathan Druart
on 2024-03-14 15:54:00 UTC
(
hide
)
Description:
Bug 24879: Adjust tests
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-03-14 15:54:00 UTC
Size:
1.33 KB
patch
obsolete
>From eb99969db8a42f60dfb9c72ca56a59a667afc951 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 14 Mar 2024 16:17:55 +0100 >Subject: [PATCH] Bug 24879: Adjust tests > >Installer scripts cannot be run from the UI: >debian/templates/apache-shared-intranet.conf:RewriteRule ^/cgi-bin/koha/(C4|debian|etc|installer/data|install_misc|Koha|misc|selenium|t|test|tmp|xt)/|\.PL$ /notfound [PT] >--- > xt/find-missing-auth_checks.t | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/xt/find-missing-auth_checks.t b/xt/find-missing-auth_checks.t >index bc9af3a6c27..77909bd5c92 100755 >--- a/xt/find-missing-auth_checks.t >+++ b/xt/find-missing-auth_checks.t >@@ -35,7 +35,6 @@ sub wanted { > |circ > |clubs > |course_reserves >- |installer > |labels > |members > |patroncards >@@ -62,7 +61,7 @@ my @missing_auth_check; > FILE: foreach my $name (@files) { > open( FILE, $name ) || die "cannot open file $name $!"; > while ( my $line = <FILE> ) { >- for my $routine ( qw( get_template_and_user check_cookie_auth checkauth check_api_auth ) ) { >+ for my $routine ( qw( get_template_and_user check_cookie_auth checkauth check_api_auth C4::Service->init ) ) { > next FILE if $line =~ m|^[^#]*$routine|; > } > } >-- >2.34.1
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 24879
:
100885
|
106978
|
163139
|
163140
|
163141
|
163142
|
163143
|
163183
|
163417
|
163418
|
163419
|
163420
|
163421
|
163422
|
163977