mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-24 06:59:52 +01:00
url_rewrite: don't rewrite urls starting with '{'
This commit is contained in:
parent
fb0962189c
commit
53b86798c7
@ -13,7 +13,7 @@ class UrlRewriter(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
NO_REWRITE_URI_PREFIX = ('#', 'javascript:', 'data:',
|
NO_REWRITE_URI_PREFIX = ('#', 'javascript:', 'data:',
|
||||||
'mailto:', 'about:', 'file:')
|
'mailto:', 'about:', 'file:', '{')
|
||||||
|
|
||||||
PROTOCOLS = ('http:', 'https:', 'ftp:', 'mms:', 'rtsp:', 'wais:')
|
PROTOCOLS = ('http:', 'https:', 'ftp:', 'mms:', 'rtsp:', 'wais:')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user