]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 649281 - Add ircs:// to url protocols for external links in comment
authorMatt Selsky <selsky_at_columbia_dot_edu>
Mon, 6 Jun 2011 20:20:28 +0000 (16:20 -0400)
committerDavid Lawrence <dlawrence@mozilla.com>
Mon, 6 Jun 2011 20:20:28 +0000 (16:20 -0400)
author=Matt Selsky, r=dkl, a=LpSolit

Bugzilla/Constants.pm

index f8e02ef1bbc7d1273138f112c7eaad172ede8130..9b9e337dfb51e4d28639979aeecb0584666b0c48 100644 (file)
@@ -431,8 +431,8 @@ use constant MAX_STS_AGE => 604800;
 
 # Protocols which are considered as safe.
 use constant SAFE_PROTOCOLS => ('afs', 'cid', 'ftp', 'gopher', 'http', 'https',
-                                'irc', 'mid', 'news', 'nntp', 'prospero', 'telnet',
-                                'view-source', 'wais');
+                                'irc', 'ircs', 'mid', 'news', 'nntp', 'prospero',
+                                'telnet', 'view-source', 'wais');
 
 # Valid MIME types for attachments.
 use constant LEGAL_CONTENT_TYPES => ('application', 'audio', 'image', 'message',