lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev FTP URL handling errors in lynx 2.8.4rel.1


From: David Balazic
Subject: lynx-dev FTP URL handling errors in lynx 2.8.4rel.1
Date: Fri, 07 Mar 2003 13:39:17 +0100

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:address@hidden/home/user1/example/userfile
lynx : does work
rfc  : should not work
wget : does not work

URL  : ftp://user1:address@hidden/example/userfile
lynx : does not work
rfc  : should work
wget : does work

URL  : ftp://user1:address@hidden/tmp/example/sysfile
lynx : works
rfc  : should not work
wget : does not work

URL  : ftp://user1:address@hidden//tmp/example/sysfile
lynx : works
rfc  : should work
wget : does work

URL  : ftp://user1:address@hidden/%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.
The problem is that lynx prepends a "/" to the path in the url :

ftp://user:address@hidden/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
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]