mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
bump version to 0.8.3
cookie rewrite: remove 'secure' flag if present
This commit is contained in:
parent
6c8cb806d9
commit
f2d7bd074a
@ -1,3 +1,9 @@
|
||||
pywb 0.8.3 changelist
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* cookie rewrite: remove cookie ``secure`` flag to allow equivalent replay via http as well as https
|
||||
|
||||
|
||||
pywb 0.8.2 changelist
|
||||
~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
PyWb 0.8.2
|
||||
PyWb 0.8.3
|
||||
==========
|
||||
|
||||
.. image:: https://travis-ci.org/ikreymer/pywb.png?branch=develop
|
||||
|
@ -32,6 +32,11 @@ class WbUrlBaseCookieRewriter(object):
|
||||
if morsel.get('max-age'):
|
||||
del morsel['max-age']
|
||||
|
||||
# for now, also remove secure to avoid issues when
|
||||
# proxying over plain http (TODO: detect https?)
|
||||
if morsel.get('secure'):
|
||||
del morsel['secure']
|
||||
|
||||
|
||||
#=================================================================
|
||||
class MinimalScopeCookieRewriter(WbUrlBaseCookieRewriter):
|
||||
|
Loading…
x
Reference in New Issue
Block a user