lynx-dev
[Top][All Lists]
Advanced

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

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


From: David Balazic
Subject: lynx-dev Re: FTP URL handling errors in lynx 2.8.4rel.1
Date: Fri, 07 Mar 2003 15:14:38 +0100

While this looks just like an inconvience , it is not. When
accessing non-unix FTP servers, lynx is unusable. Example URLs
( all pointing to the same file ) :

ftp://user1:address@hidden/DAD4:[perl5]FREEWARE_README.TXT";
ftp://user1:address@hidden/DAD4:[perl5]/FREEWARE_README.TXT";
ftp://user1:address@hidden/DAD4:[000000]/perl5/FREEWARE_README.TXT";

Classic UNIX ftp clients ( /usr/bin/ftp ) has no problem
downloading this file.

Regards,
David

P.S.: Is there an official bug tracking system for lynx ?
Why not ? :-)

P.P.S.: Could someone fix the mail list archive at
http://www.flora.org/lynx-dev ( or any other web archive of
the lynx-dev mail list ) to include a link at each message
that properly replies ? Like :

mailto:address@hidden: something&In-Reply-To=msg-ID


David Balazic wrote:
> 
> 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: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
> 
> Another look at the RFC reveals that the URL
> ftp://user1:address@hidden//tmp/example/sysfile
> should NOT work. So another discrepancy.
> 
> > 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.
> 
> Well _almost_ 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
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > - - -
> 
> --
> 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 address@hidden

reply via email to

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