cvs: php-bugs-web / source.php
| From: | Gabor Hojtsy | Date: | Tue, 26 Nov 2002 20:41:48 +0000 |
| Subject: | cvs: php-bugs-web / source.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-13898@lists.php.net to get a copy of this message | ||
goba Tue Nov 26 15:41:48 2002 EDT
Modified files:
/php-bugs-web source.php
Log:
Fixing XSS bug reported by Stefan Esser (and Derick)
Index: php-bugs-web/source.php
diff -u php-bugs-web/source.php:1.2 php-bugs-web/source.php:1.3
--- php-bugs-web/source.php:1.2 Thu Sep 20 21:13:51 2001
+++ php-bugs-web/source.php Tue Nov 26 15:41:48 2002
@@ -9,7 +9,7 @@
exit;
}
?>
-Source of: <? echo $url; ?><BR>
+Source of: <? echo htmlspecialchars($url); ?><BR>
<?