Commit 46973100 authored by Matt Selsky's avatar Matt Selsky Committed by David Lawrence

Bug 649281 - Add ircs:// to url protocols for external links in comment

author=Matt Selsky, r=dkl, a=LpSolit
parent 8532de99
...@@ -429,8 +429,8 @@ use constant MAX_STS_AGE => 604800; ...@@ -429,8 +429,8 @@ use constant MAX_STS_AGE => 604800;
# Protocols which are considered as safe. # Protocols which are considered as safe.
use constant SAFE_PROTOCOLS => ('afs', 'cid', 'ftp', 'gopher', 'http', 'https', use constant SAFE_PROTOCOLS => ('afs', 'cid', 'ftp', 'gopher', 'http', 'https',
'irc', 'mid', 'news', 'nntp', 'prospero', 'telnet', 'irc', 'ircs', 'mid', 'news', 'nntp', 'prospero',
'view-source', 'wais'); 'telnet', 'view-source', 'wais');
# Valid MIME types for attachments. # Valid MIME types for attachments.
use constant LEGAL_CONTENT_TYPES => ('application', 'audio', 'image', 'message', use constant LEGAL_CONTENT_TYPES => ('application', 'audio', 'image', 'message',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment