com web/doc-editor: fix xss: diffPreview.php

From: Date: Tue, 01 Jul 2014 09:36:47 +0000
Subject: com web/doc-editor: fix xss: diffPreview.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12560@lists.php.net to get a copy of this message
Commit: 01782767762ef47fd3399d4e9e29eba4bd64c8dc Author: RamadhanAmizudin <ramadhan92@gmail.com> Tue, 1 Jul 2014 17:36:47 +0800 Parents: f3fc0ea72a5549b952a59fc32575483b020e0f99 Branches: master Link: http://git.php.net/?p=web/doc-editor.git;a=commitdiff;h=01782767762ef47fd3399d4e9e29eba4bd64c8dc Log: fix xss Changed paths: M diffPreview.php Diff: diff --git a/diffPreview.php b/diffPreview.php index 73ecb95..c67ae34 100644 --- a/diffPreview.php +++ b/diffPreview.php @@ -34,7 +34,7 @@ ?> - <p class="msg"><?php echo $msg; ?></p> + <p class="msg"><?php echo htmlspecialchars($msg); ?></p> </body> -</html> \ No newline at end of file +</html>

« previous php.doc.cvs (#12560) next »