|
From: Geoffrey T. D. <da...@us...> - 2001-02-27 23:21:12
|
Update of /cvsroot/phpwiki/phpwiki/lib
In directory usw-pr-cvs1:/tmp/cvs-serv758/lib
Modified Files:
editpage.php
Log Message:
Fix SF bug #404646. Must quote htmlspecialchars in <textarea>.
Index: editpage.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/editpage.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** editpage.php 2001/02/15 21:33:40 1.14
--- editpage.php 2001/02/27 23:22:30 1.15
***************
*** 28,32 ****
}
! $textarea = implode("\n", $pagehash["content"]);
if ($editing_copy) {
$pagehash["version"] = $currentpage["version"];
--- 28,32 ----
}
! $textarea = htmlspecialchars(implode("\n", $pagehash["content"]));
if ($editing_copy) {
$pagehash["version"] = $currentpage["version"];
|