implementation report: Links 2.1pre14

Besides Lynx, another popular console-based browser is "Links", which renders
tables and frames. It is written in C and uses its own URI resolution code
that produces some questionable results, including a few that haven't been
seen before. Here are the results when tested with
http://gbiv.com/protocols/uri/test/rel_examples1.html

Links (2.1pre14; FreeBSD 4.9-RC i386; 114x40)
                                      ^^^^^^ my current tty dimensions

 g:h        =  http://a/b/c/g:h
 g          =  http://a/b/c/g
 ./g        =  http://a/b/c/g
 g/         =  http://a/b/c/g/
 /g         =  http://a/g
 //g        =  http://g
 ?y         =  http://a/b/c/?y
 g?y        =  http://a/b/c/g?y
 #s         =  http://a/b/c/d;p?q#s
 g#s        =  http://a/b/c/g#s
 g?y#s      =  http://a/b/c/g?y#s
 ;x         =  http://a/b/c/;x
 g;x        =  http://a/b/c/g;x
 g;x?y#s    =  http://a/b/c/g;x?y#s
 ""         =  http://a/b/c/
 .          =  http://a/b/c/.
 ./         =  http://a/b/c/
 ..         =  http://a/b/
 ../        =  http://a/b/
 ../g       =  http://a/b/g
 ../..      =  http://a/b/..
 ../../     =  http://a/b/../
 ../../g    =  http://a/b/../g
 ../../../g =  http://a/b/../../g
 ../../../../g = http://a/b/../../../g
 /./g       =  http://a/g
 /../g      =  http://a/g
 g.         =  http://a/b/c/g.
 .g         =  http://a/b/c/.g
 g..        =  http://a/b/c/g..
 ..g        =  http://a/b/c/..g
 ./../g     =  http://a/b/g
 ./g/.      =  http://a/b/c/g/.
 g/./h      =  http://a/b/c/g/h
 g/../h     =  http://a/b/c/h
 g;x=1/./y  =  http://a/b/c/g;x=1/./y
 g;x=1/../y =  http://a/b/c/g;x=1/../y
 g?y/./x    =  http://a/b/c/g?y/./x
 g?y/../x   =  http://a/b/c/g?y/../x
 g#s/./x    =  http://a/b/c/g#s/./x
 g#s/../x   =  http://a/b/c/g#s/../x
 http:g     =  http://a/b/c/http:g
 http:      =  http://a/b/c/http:

Received on Monday, 17 May 2004 02:54:09 UTC