------------------------------------------------------------
revno: 1145
committer: Mark Sapiro <[EMAIL PROTECTED]>
branch nick: 2.1
timestamp: Fri 2008-12-05 15:08:41 -0800
message:
  Changed the regexp for Utils.suspiciousHTML to exempt the
      <link rel="SHORTCUT ICON" href="<mm-favicon>">
  tag in the options.html template.
modified:
  Mailman/Utils.py

=== modified file 'Mailman/Utils.py'
--- a/Mailman/Utils.py  2008-11-13 04:02:29 +0000
+++ b/Mailman/Utils.py  2008-12-05 23:08:41 +0000
@@ -905,7 +905,8 @@
 # Many thanks are due to Moritz Naumann for his assistance with this.
 _badwords = [
     '<i?frame',
-    '<link',
+    # Kludge to allow the specific tag that's in the options.html template.
+    '<link(?! rel="SHORTCUT ICON" href="<mm-favicon>">)',
     '<meta',
     '<script',
     r'(?:^|\W)j(?:ava)?script(?:\W|$)',



--
Stable, maintained release series
https://code.launchpad.net/~mailman-coders/mailman/2.1

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to