Re: bug report: args to dynamic images

Dave J Woolley wrote:
> 
> > From: Luke Dobson [SMTP:luke.dobson@ascom.ch]
> >
> > <IMG HEIGHT="16" WIDTH="12"
> > SRC="/cgi-bin/general/counter.pl?from=books&num=8&roman=1">
> >
>         Regardless of what Amaya is doing with it, this
>         is invalid and relies on browser error recovery
>         for unknown entities.  The correct version is:
> 
>         <IMG HEIGHT="16" WIDTH="12"
>         SRC="/cgi-bin/general/counter.pl?from=books&amp;num=8&amp;roman=1">

The output from forms submission appears to be without the &amp; as is
the output from Amaya.  If I change the code to add the "&amp;", Amaya
removes it when it saves it and corrupts it the next time it opens it
anyway!

<img height="16" width="12"
src="/cgi-bin/general/counter.pl?from=books&num=4&roman=1">

>         Note that the HTML spec reccomends that CGI scripts which
>         are likely to be used with simulated forms URLs should
>         accept ; as equivalent to & to avoid the need for
>         replacing the &s with entities.

The scripts are okay with the ";".  Amaya also seems to intermittently
remove comments!.  Its a pity as this seems to otherwise be a good HTML
editor, its the first I've played with that I've not given up with after
five minutes.  

Cheers
--- 
Luke Dobson
----------------------------------------------------
Perl: the swiss-army chainsaw of computer languages.

Received on Friday, 28 January 2000 07:44:35 UTC