link_shortener: Allow #% characters for shortening URL.
This commit is contained in:
parent
bccbda49f2
commit
5ad5e11587
|
@ -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.
|
||||
')'
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue