]> 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:18:44 +0000 (16:18 -0400)
committerDavid Lawrence <dlawrence@mozilla.com>
Mon, 6 Jun 2011 20:18:44 +0000 (16:18 -0400)
author=Matt Selsky, r=dkl, a=LpSolit

Bugzilla/Constants.pm

index bfa0d22deff0f61ece9528306654b557cca1ef78..32c74e920a9ea060155ba27980d50a370ed8bde8 100644 (file)
@@ -429,8 +429,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',