mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-07-12 08:28:51 +00:00
Merge 90798c971f
into 9c32e22530
This commit is contained in:
commit
3b1dd1c256
1 changed files with 1 additions and 2 deletions
|
@ -395,8 +395,7 @@ class Strings
|
||||||
{
|
{
|
||||||
return 'https?:// # http or https protocol
|
return 'https?:// # http or https protocol
|
||||||
(?:
|
(?:
|
||||||
[^/\s\xA0`!()\[\]{};:\'",<>?«»“”‘’.] # Domain can\'t start with a .
|
[^/\s\xA0`!()\[\]{};:\'",<>?«»“”‘’.]+
|
||||||
[^/\s\xA0`!()\[\]{};:\'",<>?«»“”‘’]+ # Domain can\'t end with a .
|
|
||||||
\.
|
\.
|
||||||
[^/\s\xA0`!()\[\]{};:\'".,<>?«»“”‘’]+/? # Followed by a slash
|
[^/\s\xA0`!()\[\]{};:\'".,<>?«»“”‘’]+/? # Followed by a slash
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue