[otrs-cvs] ITSMChangeManagement/Kernel/System/ITSMChange ITSMWorkOrder.pm, 1.136, 1.136.2.1 Template.pm, 1.61, 1.61.2.1
"CVS commits notifications of OTRS.org" <[email protected]> Fri, 28 Jun 2013 13:03:57 +0000
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange
In directory lancelot:/tmp/cvs-serv17288/Kernel/System/ITSMChange
Modified Files:
Tag: rel-3_2
ITSMWorkOrder.pm Template.pm
Log Message:
Improved quoting for integer values to avoid possible security issues.
Author: ub
Index: ITSMWorkOrder.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange/ITSMWorkOrder.pm,v
retrieving revision 1.136
retrieving revision 1.136.2.1
diff -2 -u -d -r1.136 -r1.136.2.1
--- ITSMWorkOrder.pm 31 May 2013 13:59:30 -0000 1.136
+++ ITSMWorkOrder.pm 28 Jun 2013 13:03:52 -0000 1.136.2.1
@@ -1418,7 +1418,7 @@
next ARRAYPARAM if !@{ $Param{$ArrayParam} };
- # quote
+ # quote as integer
for my $OneParam ( @{ $Param{$ArrayParam} } ) {
- $OneParam = $DBObject->Quote($OneParam);
+ $OneParam = $DBObject->Quote( $OneParam, 'Integer' );
}
Author: ub
Index: Template.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange/Template.pm,v
retrieving revision 1.61
retrieving revision 1.61.2.1
diff -2 -u -d -r1.61 -r1.61.2.1
--- Template.pm 22 Apr 2013 20:31:34 -0000 1.61
+++ Template.pm 28 Jun 2013 13:03:52 -0000 1.61.2.1
@@ -808,7 +808,7 @@
next ARRAYPARAM if !@{ $Param{$ArrayParam} };
- # quote
+ # quote as integer
for my $OneParam ( @{ $Param{$ArrayParam} } ) {
- $OneParam = $Self->{DBObject}->Quote($OneParam);
+ $OneParam = $Self->{DBObject}->Quote( $OneParam, 'Integer' );
}
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log