From: Matt Selsky Date: Mon, 6 Jun 2011 20:20:28 +0000 (-0400) Subject: Bug 649281 - Add ircs:// to url protocols for external links in comment X-Git-Tag: bugzilla-4.0.2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8314991f26004c113df2af3febff072f12214ea3;p=thirdparty%2Fbugzilla.git Bug 649281 - Add ircs:// to url protocols for external links in comment author=Matt Selsky, r=dkl, a=LpSolit --- diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index f8e02ef1bb..9b9e337dfb 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -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',