|
Posted by Michael Fesser on 01/15/07 11:54
..oO(Tim Roberts)
>HOWEVER, just because one can, doesn't mean one should. Your basic advice
>is correct: POST should almost always be used for forms, because the URLs
>get too large.
It's also a security issue. Using plain links to change or delete
something on the server can become a problem or even a security risk.
>Nope. That's not the problem. Another responder nailed it: you have to
>tell the <textarea> that you want the newlines by saying <textarea
>wrap="hard">.
That's no HTML.
I've tested Opera, FF, IE and Lynx - all browsers send correct line
breaks from a textarea, regardless of the used method (GET or POST).
Using GET and a simple
| test1
| test2
|
| test3
the line breaks are sent as URL-encoded "\r\n":
....&textfield=test1%0D%0Atest2%0D%0A%0D%0Atest3&...
Micha
[Back to original message]
|