From 55c4ac1bfe565f1ca7f537fdd8b7a201be28e581 Mon Sep 17 00:00:00 2001 From: xue <> Date: Thu, 10 Nov 2005 12:47:19 +0000 Subject: Initial import of prado framework --- framework/Web/THttpUtility.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 framework/Web/THttpUtility.php (limited to 'framework/Web/THttpUtility.php') diff --git a/framework/Web/THttpUtility.php b/framework/Web/THttpUtility.php new file mode 100644 index 00000000..9d2aa7b2 --- /dev/null +++ b/framework/Web/THttpUtility.php @@ -0,0 +1,33 @@ +'%25',"\t"=>'\t',"\n"=>'\n',"\r"=>'\r','"'=>'\"','\''=>'\\\'','\\'=>'\\\\')); + else + return strtr($js,array("\t"=>'\t',"\n"=>'\n',"\r"=>'\r','"'=>'\"','\''=>'\\\'','\\'=>'\\\\')); + } +} + +?> \ No newline at end of file -- cgit v1.2.3