You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, there's code elsewhere to handle URLs without a http(s):// prefix I think - certainly at Opera "t" was a URL and a pretty important one ;)
We can always do {3,} or something like that to require three or more characters but who knows what will be a minimum valid URL length down the road? I'm however pretty sure that a 0 character long string is going to remain invalid. It's good with some certainties in life :D
In this regular expression:
https://github.com/webcompat/webcompat.com/blob/master/webcompat/helpers.py#L368
when we do
(.*)
we do not actually intend to look for "0 or more characters" - a 0 characters long URL isn't a URL. We should use + instead of *.The text was updated successfully, but these errors were encountered: