diff --git a/pywb/static/wombat.js b/pywb/static/wombat.js index 736603ab..e07a1a37 100644 --- a/pywb/static/wombat.js +++ b/pywb/static/wombat.js @@ -778,8 +778,8 @@ _WBWombat = (function() { //============================================ function override_attr(obj, attr) { var setter = function(orig) { - //var val = rewrite_url(orig); - var val = orig; + var val = rewrite_url(orig); + //var val = orig; this._orig_setAttribute(attr, val); return val; } diff --git a/pywb/templates/frame_insert.html b/pywb/templates/frame_insert.html index 662dbaf2..4ce15ae2 100644 --- a/pywb/templates/frame_insert.html +++ b/pywb/templates/frame_insert.html @@ -30,7 +30,7 @@ html, body
-
diff --git a/pywb/warc/recordloader.py b/pywb/warc/recordloader.py index 572429b5..eb32c3c4 100644 --- a/pywb/warc/recordloader.py +++ b/pywb/warc/recordloader.py @@ -157,7 +157,7 @@ class ArcWarcRecordLoader: # everything else: create a no-status entry, set content-type else: content_type_header = [('Content-Type', content_type), - ('Content-Length', length)] + ('Content-Length', str(length))] status_headers = StatusAndHeaders('200 OK', content_type_header)