Commit Graph

7 Commits (c008911249a2fc0efaf22b83e51ea8510e67acac)

Author SHA1 Message Date
Eugen Rochko 016ad37bc8
Fix URL linkifier grabbing full-width spaces and quotations ()
Fix 
Fix 
aus-social 1f98eae1cf Lint pass ()
luzpaz 40dd19be37 Misc. typos ()
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
Eugen Rochko 0df91c7b1e
Add dat, dweb, ipfs, ipns, ssb, gopher protocols to URL extractor ()
* Add dat:// and gopher:// to URL extractor

Fix 

* Fix comment indent

* Add dweb, ipfs, ipns, ssb
Daniel King 6ef3874b2e Fix URLs incorrectly having trailing hyphen removed ()
In cases where a URL has a trailing hyphen the FetchLinkCardService incorrectly removes the hyphen when it is parsed

The hyphen is not a reserved character in the URI spec https://tools.ietf.org/html/rfc3986#section-2.2
unarist 6db034a866 Re-allow underscore on valid_url_path_ending_chars ()
Limiting allowed characters in the last character of the URL is came from twitter-text, but underscore is allowed on there, and Mastodon before .
ふぁぼ原 3816943e6b Enable to recognize most kinds of characters as URL paths ()