Date: 08/02/01
- Next message: Maxim Derkachev: "[phplib-dev] PHPLib CVS at SourceForge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: mavrekh
Date: Thu Aug 2 20:10:31 2001
Modified files:
php-lib-stable/php/of_textarea.inc
Log message:
added htmlspecialchars() to self_get_frozen (it's already in self_get)
Index: php-lib-stable/php/of_textarea.inc
diff -u php-lib-stable/php/of_textarea.inc:1.1 php-lib-stable/php/of_textarea.inc:1.2
--- php-lib-stable/php/of_textarea.inc:1.1 Mon Apr 17 18:40:15 2000
+++ php-lib-stable/php/of_textarea.inc Thu Aug 2 20:10:01 2001
@@ -3,7 +3,7 @@
*
* Copyright (c) 1998 by Jay Bloodworth
*
- * $Id: of_textarea.inc,v 1.1 2000/04/17 16:40:15 kk Exp $
+ * $Id: of_textarea.inc,v 1.2 2001/08/02 18:10:01 mavrekh Exp $
*/
class of_textarea extends of_element {
@@ -34,7 +34,9 @@
function self_get_frozen($val,$which, &$count) {
$str = "";
$str .= "<input type='hidden' name='$this->name'";
- $str .= " value='$this->value'>\n";
+ $str .= " value=\"";
+ $str .= htmlspecialchars($this->value);
+ $str .= "\">\n";
$str .= "<table border=1><tr><td>\n";
$str .= nl2br($this->value);
$str .= "\n</td></tr></table>\n";
-- Abbestellen mit Mail an: phplib-dev-unsubscribe <email protected> Kommandoliste mit Mail an: phplib-dev-help <email protected>
- Next message: Maxim Derkachev: "[phplib-dev] PHPLib CVS at SourceForge"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

