diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-07-17 22:05:25 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-07-17 22:05:25 +0200 |
commit | 7dbed4dab93d3eaf79b7e7e4a61f52782909d1ae (patch) | |
tree | 7a235fc9422d71f56993b4682b06439310f21f65 /app/lib | |
parent | 1fb78602c56b7bf52dcf383fea7a4c45ce568655 (diff) | |
parent | 6277a6db2a70b798aed71ff7e722d23b975182cd (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/sanitize_config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb index c2b466924..1bba4a5a6 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -2,7 +2,7 @@ class Sanitize module Config - HTTP_PROTOCOLS ||= ['http', 'https', :relative].freeze + HTTP_PROTOCOLS ||= ['http', 'https', 'dat', 'dweb', 'ipfs', 'ipns', 'ssb', 'gopher', :relative].freeze CLASS_WHITELIST_TRANSFORMER = lambda do |env| node = env[:node] |