link_shortener: Allow #% characters for shortening URL.
This commit is contained in:
parent
bccbda49f2
commit
5ad5e11587
|
@ -35,7 +35,7 @@ class LinkShortenerHandler(object):
|
||||||
'('
|
'('
|
||||||
'(?:http|https):\/\/' # This allows for the HTTP or HTTPS
|
'(?:http|https):\/\/' # This allows for the HTTP or HTTPS
|
||||||
# protocol.
|
# protocol.
|
||||||
'[^"<>#%\{\}|\\^~[\]` ]+' # This allows for any character except
|
'[^"<>\{\}|\\^~[\]` ]+' # This allows for any character except
|
||||||
# for certain non-URL-safe ones.
|
# for certain non-URL-safe ones.
|
||||||
')'
|
')'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue