lynx-dev
[Top][All Lists]
Advanced

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

Re: wget, & and lynx (was Re: lynx-dev bug report)


From: Ismael Cordeiro
Subject: Re: wget, & and lynx (was Re: lynx-dev bug report)
Date: Tue, 26 Oct 1999 08:08:32 -0400 (EDT)

On Tue, 26 Oct 1999, Leonid Pauzner wrote:

> 25-Oct-99 15:56 Klaus Weide wrote:
> > On Mon, 25 Oct 1999, Leonid Pauzner wrote:
> 
> >> 25-Oct-99 11:20 Oliver Seidel wrote:
> >>
> >> > -rw-r--r--   1 os10000  private      3689 Oct 25 11:10 
> >> > forum_reply?keepcookie=0&lm=854576442
> >>
> >> > <TABLE>
> >> > <TR><TD><A HREF="../forum_reply?keepcookie=0&amp;lm=854576442">How much 
> >> > wood would a wood chuck ch...</A><TD>1 day old<TD>(last of 9 replies 998 
> >> > days ago)</TR>
> >>
> >> That make me some sence:
> >>
> >> 2) lynx is wrong since do translate entities for local file names
> >> appeared from directory listing (not one embeded into HTML).
> 
> > Nothing in the example shown were lynx-generated.
> 
> The example above shows that local file with &amp; in filemane exists
> (3689 bytes) and lynx cannot open it from dired list OR from command line.
> Haven't tested it though, just trust the author.

Yes, lynx can open the file from the DIRED list and from the command line.
Let's see an example. The filename created by wget is

forum_reply?keepcookie=0&amp;lm=854576442

Lynx has no problems opening it from the DIRED list. Since "&" and ";" can't
be used on Unix filenames because they have special meanings for the shell,
lynx can open the file from the command line only if the filename is quoted
or if the special characters are escaped. Like this:

lynx 'forum_reply?keepcookie=0&amp;lm=854576442'

or

lynx forum_reply?keepcookie=0\&amp\;lm=854576442

What lynx can't do is to open the file from the link

<A HREF="../forum_reply?keepcookie=0&amp;lm=854576442">How much wood would a 
wood chuck ch...</A>

because it correctly converts the filename to

forum_reply?keepcookie=0&lm=854576442

which doesn't exist.

Ismael
-- 
        ____________________________________________________________
       |                                                            |
       | ISMAEL CORDEIRO            | mailto:address@hidden    |
       | Production sound mixer     | http://ismael.cordeiro.com/   |
       | Montréal - Québec - Canada | ftp://pubnix.net/users/ismael |
       |____________________________________________________________|


reply via email to

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