-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ARCHeadersParser splits on space, cause errors with spaces in uri…
…'s (#62) * Use rsplit() to allow urls with spaces in them to be counted as single field -- this should take care of errors in arcs with urls that contain spaces tests: added space-in-url.arc for testing arc with spaces in url
- Loading branch information
Showing
3 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
filedesc://live-web-example.arc.gz 127.0.0.1 20140216050221 text/plain 75 | ||
1 0 LiveWeb Capture | ||
URL IP-address Archive-date Content-type Archive-length | ||
|
||
http://example.com/index.cfm?FuseAction=Email&EmailTitle=Examples From The Live Web&IsPopUp=False 93.184.216.119 20140216050221 text/html 1591 | ||
HTTP/1.1 200 OK | ||
Accept-Ranges: bytes | ||
Cache-Control: max-age=604800 | ||
Content-Type: text/html | ||
Date: Sun, 16 Feb 2014 05:02:20 GMT | ||
Etag: "359670651" | ||
Expires: Sun, 23 Feb 2014 05:02:20 GMT | ||
Last-Modified: Fri, 09 Aug 2013 23:54:35 GMT | ||
Server: ECS (sjc/4FCE) | ||
X-Cache: HIT | ||
x-ec-custom-error: 1 | ||
Content-Length: 1270 | ||
|
||
<!doctype html> | ||
<html> | ||
<head> | ||
<title>Example Domain</title> | ||
|
||
<meta charset="utf-8" /> | ||
<meta http-equiv="Content-type" content="text/html; charset=utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<style type="text/css"> | ||
body { | ||
background-color: #f0f0f2; | ||
margin: 0; | ||
padding: 0; | ||
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
|
||
} | ||
div { | ||
width: 600px; | ||
margin: 5em auto; | ||
padding: 50px; | ||
background-color: #fff; | ||
border-radius: 1em; | ||
} | ||
a:link, a:visited { | ||
color: #38488f; | ||
text-decoration: none; | ||
} | ||
@media (max-width: 700px) { | ||
body { | ||
background-color: #fff; | ||
} | ||
div { | ||
width: auto; | ||
margin: 0 auto; | ||
border-radius: 0; | ||
padding: 1em; | ||
} | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div> | ||
<h1>Example Domain</h1> | ||
<p>This domain is established to be used for illustrative examples in documents. You may use this | ||
domain in examples without prior coordination or asking for permission.</p> | ||
<p><a href="http://www.iana.org/domains/example">More information...</a></p> | ||
</div> | ||
</body> | ||
</html> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters