mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
mod fix for cookies: set wbinfo.mod to replay_mod (mp_ or '') to avoid cookie issues caused by content loaded with wrong modifier (eg. with yt comments) (#330)
This commit is contained in:
parent
5f3d37bb44
commit
1faa75a126
@ -348,6 +348,7 @@ class RewriterApp(object):
|
||||
top_url,
|
||||
environ,
|
||||
framed_replay,
|
||||
replay_mod=self.replay_mod,
|
||||
config=self.config))
|
||||
|
||||
cookie_rewriter = None
|
||||
|
@ -18,7 +18,7 @@
|
||||
wbinfo.timestamp = "{{ cdx.timestamp }}";
|
||||
wbinfo.request_ts = "{{ wb_url.timestamp }}";
|
||||
wbinfo.prefix = decodeURI("{{ wb_prefix }}");
|
||||
wbinfo.mod = "{{ wb_url.mod }}";
|
||||
wbinfo.mod = "{{ replay_mod }}";
|
||||
wbinfo.is_framed = {{ is_framed }};
|
||||
wbinfo.is_live = {{ is_live }};
|
||||
wbinfo.coll = "{{ coll }}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user