summaryrefslogtreecommitdiff
path: root/framework/Web/THttpUtility.php
diff options
context:
space:
mode:
authorxue <>2005-12-06 15:20:50 +0000
committerxue <>2005-12-06 15:20:50 +0000
commit1e809a0a05e40786fafdb2002c7ceda8573b3f8e (patch)
tree8f60ada4241aeb297eb013f7be5c601dc9ec327d /framework/Web/THttpUtility.php
parent703b3edacfbb12b57510d1ca441b6bbbb2fc16ab (diff)
Diffstat (limited to 'framework/Web/THttpUtility.php')
-rw-r--r--framework/Web/THttpUtility.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/THttpUtility.php b/framework/Web/THttpUtility.php
index 7cb1c01c..8951cbe7 100644
--- a/framework/Web/THttpUtility.php
+++ b/framework/Web/THttpUtility.php
@@ -33,6 +33,7 @@ class THttpUtility
{
if($js!=='' && $js!==null)
{
+ $js=trim($js);
if(($pos=strpos($js,'javascript:'))===0)
$js=substr($js,11);
$js=rtrim($js,';').';';