link_shortener: Allow #% characters for shortening URL.

This commit is contained in:
novokrest 2018-05-12 07:51:01 +03:00 committed by Tim Abbott
parent bccbda49f2
commit 5ad5e11587

View file

@ -35,8 +35,8 @@ class LinkShortenerHandler(object):
'('
'(?:http|https):\/\/' # This allows for the HTTP or HTTPS
# protocol.
'[^"<>#%\{\}|\\^~[\]` ]+' # This allows for any character except
# for certain non-URL-safe ones.
'[^"<>\{\}|\\^~[\]` ]+' # This allows for any character except
# for certain non-URL-safe ones.
')'
)