]> cat aescling's git repositories - mastodon.git/commit
Add support for Gemini urls (#15013)
authorJosh Leeb-du Toit <mail@joshleeb.com>
Mon, 19 Oct 2020 15:02:13 +0000 (02:02 +1100)
committerGitHub <noreply@github.com>
Mon, 19 Oct 2020 15:02:13 +0000 (17:02 +0200)
commit0c24f4dce204e898fe07f763d48f133214d96017
treeef53290e726597c1ea7c9f71f2fdf6f6b66d0b26
parent4130aef29cb913cc33a1abaf997955fbbfdeb3b4
Add support for Gemini urls (#15013)

This PR updates the `valid_url` regex and sanitizer allowlist to provide
support for Gemini urls.

Closes #14991
app/lib/sanitize_config.rb
config/initializers/twitter_regex.rb