1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Merge branch 'develop' into config-work

This commit is contained in:
Ilya Kreymer 2015-03-06 21:09:21 -08:00
commit 5aa497dc68
3 changed files with 17 additions and 1 deletions

View File

@ -1,6 +1,17 @@
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
~~~~~~~~~~~~~~~~~~~~~
* rewrite: fix for redirect loop related to pages with 'www.' prefix. Since canonicalization removes the prefix, treat redirect to 'www.' as self-redirect (for now).
* memento: ensure rel=memento url matches timegate redirect exactly (urls may differ due to canonicalization, use actual instead of requested for both)
pywb 0.8.1 changelist
~~~~~~~~~~~~~~~~~~~~~

View File

@ -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):

View File

@ -38,7 +38,7 @@ function make_inner_url(url, ts)
if (ts) {
return wbinfo.prefix + ts + "/" + url;
} else {
return wbinfo.prefix + "/" + url;
return wbinfo.prefix + url;
}
}