Wed, 31 Dec 2014 06:55:46 +0100
Added tag TORBROWSER_REPLICA for changeset 6474c204b198
michael@0 | 1 | # Any blank lines and those beginning with # are comments and |
michael@0 | 2 | # ignored. To add additional test cases that could potentially |
michael@0 | 3 | # break URL parsing in mozilla add the input URL on a new line |
michael@0 | 4 | # and follow it with the expected output. Then run urltest on |
michael@0 | 5 | # this file and hopefully the expected output should match the |
michael@0 | 6 | # one from the program. |
michael@0 | 7 | # - Gagan Saksena 03/28/00 |
michael@0 | 8 | |
michael@0 | 9 | http://username:password@hostname.com:80/pathname/./more/stuff/../path |
michael@0 | 10 | http,username:password,hostname.com,80,,/pathname/more/path |
michael@0 | 11 | |
michael@0 | 12 | username@host:8080/path |
michael@0 | 13 | ,username,host,8080,,/path |
michael@0 | 14 | |
michael@0 | 15 | http://gagan/ |
michael@0 | 16 | http,,gagan,-1,,/ |
michael@0 | 17 | |
michael@0 | 18 | scheme:host/netlib |
michael@0 | 19 | scheme,,host,-1,,/netlib |
michael@0 | 20 | |
michael@0 | 21 | mailbox:///foo |
michael@0 | 22 | mailbox,,,-1,,/foo |
michael@0 | 23 | |
michael@0 | 24 | scheme:user@hostname.edu:80/pathname |
michael@0 | 25 | scheme,user,hostname.edu,80,,/pathname |
michael@0 | 26 | |
michael@0 | 27 | http://username:password@hostname:80/pathname |
michael@0 | 28 | http,username:password,hostname,80,,/pathname |
michael@0 | 29 | |
michael@0 | 30 | resource:/pathname |
michael@0 | 31 | resource,,,-1,,/pathname |
michael@0 | 32 | |
michael@0 | 33 | ftp://uname%here.com:pwd@there.com/aPath/a.html |
michael@0 | 34 | ftp,uname%here.com:pwd,there.com,-1,,/aPath/a.html |
michael@0 | 35 | |
michael@0 | 36 | http://www.inf.bme.hu?foo=bar |
michael@0 | 37 | http,,www.inf.bme.hu,-1,foo=bar,/?foo=bar |
michael@0 | 38 | |
michael@0 | 39 | http://test.com/aPath/a.html#/1/2 |
michael@0 | 40 | http,,test.com,-1,,/aPath/a.html#/1/2 |
michael@0 | 41 | |
michael@0 | 42 | http://user:pass@ipaddres:2/get?foo/something |
michael@0 | 43 | http,user:pass,ipaddres,2,foo/something,/get?foo/something |