summaryrefslogtreecommitdiff
path: root/framework/Web/THttpUtility.php
diff options
context:
space:
mode:
authorxue <>2006-04-20 17:06:59 +0000
committerxue <>2006-04-20 17:06:59 +0000
commit5d02ac2219c95459afb8f7dc7a0457b5c0e98fd0 (patch)
tree7fc6cb52a921bcad0cafc61d35c2e9cf675bbe61 /framework/Web/THttpUtility.php
parentf4a715e98befac72626b7d7a94f98882fee37c32 (diff)
Fixed #138 and an error in HTML entity representation for double quotes.
Diffstat (limited to 'framework/Web/THttpUtility.php')
-rw-r--r--framework/Web/THttpUtility.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/THttpUtility.php b/framework/Web/THttpUtility.php
index 4cd869b4..3bb78f0f 100644
--- a/framework/Web/THttpUtility.php
+++ b/framework/Web/THttpUtility.php
@@ -20,8 +20,8 @@
*/
class THttpUtility
{
- private static $_encodeTable=array('<'=>'&lt;','>'=>'&gt;','"'=>'&quote;');
- private static $_decodeTable=array('&lt;'=>'<','&gt;'=>'>','&quote;'=>'"');
+ private static $_encodeTable=array('<'=>'&lt;','>'=>'&gt;','"'=>'&quot;');
+ private static $_decodeTable=array('&lt;'=>'<','&gt;'=>'>','&quot;'=>'"');
/**
* HTML-encodes a string.