David Balazic wrote: > > Hi! > > I noticed the ftp://xx/ URL handling is not conforming to RFC-1738 > in Lynx 2.8.4 > > naomi:stein[]lynx -version > Lynx Version 2.8.4rel.1 (17 Jul 2001) > libwww-FM 2.14, SSL-MM 1.4.1, OpenSSL 0.9.6b > Built on hpux11.00 Feb 5 2002 10:14:41 > > Example : > > - server : > > - name : srv1 > - user : user1 > - users home dir : /home/user1 > - users file : /home/user1/example/userfile > - "system" file : /tmp/example/sysfile > > behavior : > > URL : ftp://user1:[EMAIL PROTECTED]/home/user1/example/userfile > lynx : does work > rfc : should not work > wget : does not work > > URL : ftp://user1:[EMAIL PROTECTED]/example/userfile > lynx : does not work > rfc : should work > wget : does work > > URL : ftp://user1:[EMAIL PROTECTED]/tmp/example/sysfile > lynx : works > rfc : should not work > wget : does not work > > URL : ftp://user1:[EMAIL PROTECTED]//tmp/example/sysfile > lynx : works > rfc : should work > wget : does work
Another look at the RFC reveals that the URL ftp://user1:[EMAIL PROTECTED]//tmp/example/sysfile should NOT work. So another discrepancy. > URL : ftp://user1:[EMAIL PROTECTED]/%2Ftmp/example/sysfile > lynx : works > rfc : should work > wget : does work > > ( wget is GNU Wget 1.7.1 ) > > As we see lynx does not conform to rfc 1738, while wget does. Well _almost_ does :-) > The problem is that lynx prepends a "/" to the path in the url : > > ftp://user:[EMAIL PROTECTED]/p/a/t/h/file > > lynx parses this to : > > username : user > password : pass > hostname : host > path : /p/a/t/h ( wrong ! should be : p/a/t/h ) > filename : file > > Regards, > -- > David Balazic > -------------- > "Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore > Logan > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > - - - -- David Balazic -------------- "Be excellent to each other." - Bill S. Preston, Esq., & "Ted" Theodore Logan - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
