mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
Properly encode load_url (#659)
This commit is contained in:
parent
843fe28ed8
commit
3e5d97f70b
@ -157,9 +157,9 @@ class RemoteIndexSource(BaseIndexSource):
|
||||
if name:
|
||||
source_coll = params.get('param.' + name + '.src_coll', '')
|
||||
|
||||
cdx[self.url_field] = self.replay_url.format(url=cdx['url'],
|
||||
cdx[self.url_field] = res_template(self.replay_url, dict(url=cdx['url'],
|
||||
timestamp=cdx['timestamp'],
|
||||
src_coll=source_coll)
|
||||
src_coll=source_coll))
|
||||
def __repr__(self):
|
||||
return '{0}({1}, {2})'.format(self.__class__.__name__,
|
||||
self.api_url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user