0
0
Fork 0

Misc. typos (#8694)

Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
This commit is contained in:
luzpaz 2018-09-13 18:53:09 -04:00 committed by Eugen Rochko
parent 4959ead07c
commit 40dd19be37
15 changed files with 18 additions and 18 deletions

View file

@ -170,7 +170,7 @@ export const urlRegex = (function() {
')' +
'\\)',
'i');
// Valid end-of-path chracters (so /foo. does not gobble the period).
// Valid end-of-path characters (so /foo. does not gobble the period).
// 1. Allow =&# for empty URL parameters and other URL-join artifacts
regexen.validUrlPathEndingChars = regexSupplant(/[^#{spaces_group}\(\)\?!\*';:=\,\.\$%\[\]#{pd}~&\|@]|(?:#{validUrlBalancedParens})/i);
// Allow @ in a url, but only in the middle. Catch things like http://example.com/@user/