Bugzilla – Attachment 158763 Details for
Bug 35290
SQL Injection vulnerability in ysearch.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35290: (follow-up) Perltidy formatting corrections
Bug-35290-follow-up-Perltidy-formatting-correction.patch (text/plain), 1.08 KB, created by
Owen Leonard
on 2023-11-09 19:49:57 UTC
(
hide
)
Description:
Bug 35290: (follow-up) Perltidy formatting corrections
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2023-11-09 19:49:57 UTC
Size:
1.08 KB
patch
obsolete
>From 73094e4c97e1cb6a91137c6779f7523d31f54caa Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 9 Nov 2023 19:46:35 +0000 >Subject: [PATCH] Bug 35290: (follow-up) Perltidy formatting corrections > >--- > cataloguing/ysearch.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/ysearch.pl b/cataloguing/ysearch.pl >index 609f4cb0b1..0655de9b9a 100755 >--- a/cataloguing/ysearch.pl >+++ b/cataloguing/ysearch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+ #!/usr/bin/perl > > # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) > >@@ -37,8 +37,8 @@ my $table = $input->param('table'); > my $field = $input->param('field'); > > # Prevent from disclosing data >-die() unless ($table eq "biblioitems"); >-die() unless ($field eq 'publishercode' || $field eq 'collectiontitle'); >+die() unless ( $table eq "biblioitems" ); >+die() unless ( $field eq 'publishercode' || $field eq 'collectiontitle' ); > > binmode STDOUT, ":encoding(UTF-8)"; > print $input->header( -type => 'text/plain', -charset => 'UTF-8' ); >-- >2.30.2
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 35290
:
158682
|
158762
|
158763
|
158764
|
158765