Skip to content

Commit 60ca8fb

Browse files
committed
Changelist for 0.10.5
1 parent 63c6efc commit 60ca8fb

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

CHANGES.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
pywb 0.10.5 changelist
2+
~~~~~~~~~~~~~~~~~~~~~~
3+
4+
* wombat 2.6 client side rewriting improvements:
5+
- Override prototype properties on ``href`` and ``src`` attributes on elements that have these properties, such as that
6+
JS accesses the original url, not the rewritten version.
7+
8+
- For `<a>` element override other url properties ``href``, ``hostname``, ``host``, ``pathname``, ``origin``, ``search``, ``port``, ``protocol``
9+
10+
- Improved ``postMessage`` emulation: Ensure the original ``origin`` of the caller is saved, by wrapping ``X.postMessage`` in a special ``X.__WB_pmw(window).postMessage()`` call which will save origin of current window in X. Store origin and destination hosts.
11+
12+
- Improved ``message`` listener emulation: Add filtering to skip messages that were not inteded for destination host.
13+
14+
- Restored wombat if wiped by ``document.write`` / ``document.open`` (happens on FF)
15+
16+
- When rewriting html for ``document.write``, keep ``<html>``, ``<head>``, ``<body>`` tags in rewritten html.
17+
18+
19+
* Relative urls rewritten to stay relative, eg. ``/path/file.html`` -> ``/coll/http://example.com/path/file.html``
20+
Can be disabled with ``no_match_rel=True`` in ``rewrite_opts``.
21+
22+
* Optional ``force_html_decl`` option to add a ``<!DOCTYPE>`` or other HTML declaration if none is present.
23+
24+
* Improved handling for `redir_to_exact=False`` mode. When set, no redirect on memento timegate, and serve ``Content-Location `` headers for actual memento, in conformance with Mememnto RFC Pattern 2.2 (http://tools.ietf.org/html/rfc7089#section-4.2.2)
25+
26+
27+
* Proxy Mode Fixes: Ensure ``Content-Length`` header is always added and correct in proxy mode, needed for proper HTTPS
28+
handling in ``CONNECT`` envelope.
29+
30+
31+
* New default ``HostScopeCookieRewriter`` sets cookies with domain ``/coll/https://example.com/`` instead of ``/coll/``.
32+
Can be specified with ``cookie_scope: host`` per collection.
33+
This is now the default live rewrite proxy and should be much safer/secure. For rare login use cases, the collection
34+
root scope can be specified with ``cookie_scope: coll``
35+
36+
* Default WSGI handler for ``wayback`` back to ``wsgiref``, as ``waitress`` does not support proxy mode.
37+
38+
39+
140
pywb 0.10.2 changelist
241
~~~~~~~~~~~~~~~~~~~~~~
342

0 commit comments

Comments
 (0)