You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2010/04/07 17:29:12 UTC
svn commit: r931589 - /incubator/vcl/trunk/web/.ht-inc/help.php
Author: jfthomps
Date: Wed Apr 7 15:29:12 2010
New Revision: 931589
URL: http://svn.apache.org/viewvc?rev=931589&view=rev
Log:
VCL-139
oops - forgot to save one last time; moved preg_replace in printHelpForm for $name and $summary outside of magic_quotes check
Modified:
incubator/vcl/trunk/web/.ht-inc/help.php
Modified: incubator/vcl/trunk/web/.ht-inc/help.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/help.php?rev=931589&r1=931588&r2=931589&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/help.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/help.php Wed Apr 7 15:29:12 2010
@@ -45,11 +45,11 @@ function printHelpForm() {
$text = processInputVar("comments", ARG_STRING);
if(get_magic_quotes_gpc()) {
$name = stripslashes($name);
- $name = preg_replace(array('/"/', '/>/'), array('"', '>'), $name);
$summary = stripslashes($summary);
- $summary = preg_replace(array('/"/', '/>/'), array('"', '>'), $summary);
$text = stripslashes($text);
}
+ $name = preg_replace(array('/"/', '/>/'), array('"', '>'), $name);
+ $summary = preg_replace(array('/"/', '/>/'), array('"', '>'), $summary);
}
else {
$name = '';