mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-16 11:53:13 +00:00
ea436b355b
* Fix wrong grouping in Twitter valid_url regex * Add support for xmpp URIs Fixes #9776 The difficult part is autolinking, because Twitter-text's extractor does some pretty ad-hoc stuff to find things that “look like” URLs, and XMPP URIs do not really match the assumptions of that lib, so it doesn't sound wise to try to shoehorn it into the existing regex. This is why I used a specific regex (very close, although slightly more permissive than the RFC), and a specific scan function (a simplified version of the generalized one from Twitter). * Remove leading “xmpp:” from auto-linked text |
||
---|---|---|
.. | ||
activitypub | ||
connection_pool | ||
nodeinfo | ||
ostatus | ||
proof_provider | ||
settings | ||
activity_tracker.rb | ||
application_extension.rb | ||
delivery_failure_tracker.rb | ||
entity_cache.rb | ||
exceptions.rb | ||
extractor.rb | ||
fast_geometry_parser.rb | ||
feed_manager.rb | ||
formatter.rb | ||
hash_object.rb | ||
inline_renderer.rb | ||
language_detector.rb | ||
potential_friendship_tracker.rb | ||
proof_provider.rb | ||
request.rb | ||
request_pool.rb | ||
rss_builder.rb | ||
sanitize_config.rb | ||
search_query_parser.rb | ||
search_query_transformer.rb | ||
sidekiq_error_handler.rb | ||
spam_check.rb | ||
status_filter.rb | ||
status_finder.rb | ||
tag_manager.rb | ||
themes.rb | ||
toc_generator.rb | ||
user_settings_decorator.rb | ||
webfinger_resource.rb |