[twill] empty textareas submit newline?
gabor
gabor at nekomancer.net
Sun Mar 5 14:18:29 PST 2006
hi,
i have a simple webpage with a form with a textarea,
like:
<form action="" method="get">
<textarea name="teaser" rows="10" cols="40"></textarea>
</form>
</body>
the problem is that when i go there with twill, and do a submit, it
submits this:
textarea.html?teaser=%0A
a newline.
a different way to reproduce the problem is to simply use "showforms".
and you will see that for all the should-be-empty textareas the content
is a newline (there is an empty line below the textarea's line).
so, is this a bug or i am doing something very stupid :) ?
gabor
More information about the twill
mailing list