Add support for Gemini urls (#15013)
This PR updates the `valid_url` regex and sanitizer allowlist to provide support for Gemini urls. Closes #14991
This commit is contained in:
committed by
GitHub
parent
4130aef29c
commit
0c24f4dce2
@ -18,6 +18,7 @@ class Sanitize
|
||||
gopher
|
||||
xmpp
|
||||
magnet
|
||||
gemini
|
||||
).freeze
|
||||
|
||||
CLASS_WHITELIST_TRANSFORMER = lambda do |env|
|
||||
|
Reference in New Issue
Block a user