perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <jos...@chamas.com>
Subject Re: Bug report: FormFill functionality
Date Wed, 13 Jun 2001 07:51:35 GMT
The bug you describe below has to do with the way 
HTML::FillInForm works.  I have cc'd the author TJ Mather 
on this email.  This might really have to do with the 
way HTML::Parser works.

Also note, Apache::ASP 2.15 has just been released, which
works under perl 5.6.1 just as 2.09 does.

--Josh

Philip Mak wrote:
> 
> Summary: HTML::FillInForm chokes if the value has double quotes in it.
> 
> Minimal script to cause problem:
> 
> <%
> $Response->{FormFill} = 1;
> my $test = '"This string is quoted."';
> %>
> <form>
> <input type="text" size=40 value="<%=$Server->HTMLEncode($test)%>">
> </form>
> 
> This is in Apache::ASP 2.09 (I can't use 2.11 since I haven't had a free
> afternoon to upgrade from perl 5.00503 to perl 5.6.1 then fix everything
> that broke). HTML::FillInForm version is 0.13.
> 
> The output of the script is this:
> 
> <form>
> <input type="text" size="40" value=""This string is quoted."">
> </form>
> 
> If I turn off FormFill, its output is correct:
> 
> <form>
> <input type="text" size=40 value="&quot;This string is quoted.&quot;">
> </form>
> 
> -Philip Mak (pmak@aaanime.net)
>

---------------------------------------------------------------------
To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
For additional commands, e-mail: asp-help@perl.apache.org


Mime
View raw message