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 ([EMAIL PROTECTED])


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to