Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
16f1833e
Commit
16f1833e
authored
Aug 01, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 583645: Make $dbh->quote always detaint its output, even on DBDs that
don't normally detaint output from $dbh->quote. r=LpSolit, a=LpSolit
parent
bb18f8a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
DB.pm
Bugzilla/DB.pm
+11
-0
No files found.
Bugzilla/DB.pm
View file @
16f1833e
...
...
@@ -95,6 +95,17 @@ use constant WORD_START => '(^|[^[:alnum:]])';
use
constant
WORD_END
=>
'($|[^[:alnum:]])'
;
#####################################################################
# Overridden Superclass Methods
#####################################################################
sub
quote
{
my
$self
=
shift
;
my
$retval
=
$self
->
SUPER::
quote
(
@_
);
trick_taint
(
$retval
)
if
defined
$retval
;
return
$retval
;
}
#####################################################################
# Connection Methods
#####################################################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment