[Rt-commit] r7770 - rt/branches/3.6-RELEASE/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Fri May 4 21:20:08 EDT 2007


Author: ruz
Date: Fri May  4 21:20:07 2007
New Revision: 7770

Modified:
   rt/branches/3.6-RELEASE/html/Elements/ScrubHTML

Log:
* we scrub format strings and should allow to __WebXXX__ things
  in the beginning

Modified: rt/branches/3.6-RELEASE/html/Elements/ScrubHTML
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/ScrubHTML	(original)
+++ rt/branches/3.6-RELEASE/html/Elements/ScrubHTML	Fri May  4 21:20:07 2007
@@ -54,8 +54,8 @@
         '*'    => 0,
         id     => 1,
         class  => 1,
-        href   => qr{^(?:http:|ftp:|https:|/)}i, 
         # Match http, ftp and relative urls
+        href   => qr{^(?:http:|ftp:|https:|/|__Web(?:Path|BaseURL|URL)__)}i, 
         face   => 1,
         size   => 1,
         target => 1


More information about the Rt-commit mailing list