-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: expanded url normalisation to support more functionality
outlined by IIPC's urlcannon project and setup a baseline for testing in line with the setup in that repo. I'm not sure I agree with all the normalisation they are doing.
- Loading branch information
Showing
4 changed files
with
283 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,37 @@ | ||
{ | ||
"defaultIASurt": { | ||
"http://www.archive.org/": "org,archive)/", | ||
"http://archive.org/": "org,archive)/", | ||
"http://archive.org/goo/": "org,archive)/goo", | ||
"http://archive.org/goo/?": "org,archive)/goo", | ||
"http://archive.org/goo/?b&a": "org,archive)/goo?a&b", | ||
"http://archive.org/goo/?a=2&b&a=1": "org,archive)/goo?a=1&a=2&b", | ||
"http://archive.org/index.php?PHPSESSID=0123456789abcdefghijklemopqrstuv&action=profile;u=4221": "org,archive)/index.php?action=profile;u=4221", | ||
"http://visit.webhosting.yahoo.com/visit.gif?&r=http%3A//web.archive.org/web/20090517140029/http%3A//anthonystewarthead.electric-chi.com/&b=Netscape%205.0%20%28Windows%3B%20en-US%29&s=1366x768&o=Win32&c=24&j=true&v=1.2": "com,yahoo,webhosting,visit)/visit.gif?&b=netscape%205.0%20(windows;%20en-us)&c=24&j=true&o=win32&r=http://web.archive.org/web/20090517140029/http://anthonystewarthead.electric-chi.com/&s=1366x768&v=1.2" | ||
}, | ||
"url_normalization.DefaultIA": { | ||
"http://www.alexa.com/": "http://alexa.com/", | ||
"http://archive.org/index.html": "http://archive.org/index.html", | ||
"http://archive.org/index.html?": "http://archive.org/index.html", | ||
"http://archive.org/index.html?a=b": "http://archive.org/index.html?a=b", | ||
"http://archive.org/index.html?b=b&a=b": "http://archive.org/index.html?a=b&b=b", | ||
"http://archive.org/index.html?b=a&b=b&a=b": "http://archive.org/index.html?a=b&b=a&b=b", | ||
"http://www34.archive.org/index.html?b=a&b=b&a=b": "http://archive.org/index.html?a=b&b=a&b=b" | ||
}, | ||
"url_normalization.IA": { | ||
"http://ARCHIVE.ORG/": "http://archive.org/", | ||
"http://www.archive.org:80/": "http://archive.org/", | ||
"https://www.archive.org:80/": "https://archive.org:80/", | ||
"http://www.archive.org:443/": "http://archive.org:443/", | ||
"https://www.archive.org:443/": "https://archive.org/", | ||
"http://www.archive.org/big/": "http://archive.org/big", | ||
"dns:www.archive.org": "dns:www.archive.org" | ||
}, | ||
"url_normalization.massageHost": { | ||
"https://foo.com": "https://foo.com/", | ||
"https://www.foo.com": "https://foo.com/", | ||
"https://www12.foo.com": "https://foo.com/", | ||
"https://www2foo.com": "https://www2foo.com/", | ||
"https://www2.www2foo.com": "https://www2foo.com/" | ||
} | ||
} |