Version: (using KDE KDE 3.4.3) Installed from: Ubuntu Packages Compiler: gcc-4.0.2 kubuntu packages OS: Linux When the value of a tags <input type=hidden ... /> contains several lines, konqui converts the newlines into spaces before posting the data. This causes problems for various wiki applications. For instance Dokuwiki does section editing by passing the page text in three parts. The editable part is passed in a <textarea></textarea>, and the non editable parts are passed in a <input type=hidden value='xxx'> field. The thing breaks because khtml looses the newlines in the non editable parts. TEST CASE: http://leon.bottou.com/x.html. Compare the konqui answer with the firefox answer.
I cannot reproduce. For me the test page works.
Created attachment 14289 [details] Test case: Konqui result This is what konqui (kubuntu, kde-3.4.3) returns after pressing submit. Notice the text "this was a three line hidden text" displayed on a single line.
Created attachment 14290 [details] Test case: Firefox result This is the firefox result. Notice that the line "this was<br>a three line<br>hidden text" now has the newlines where we expect them.
Works fine for me with 3.5 branch...
Three possibilities: 1- my test case was not explicit enough. 2- this is a kde-3.4.3 things that is gone now. 3- this is a kubuntu specific thing I just attached screendumps of the konqui-3.4.3 and firefox-1.7 output on my machine. Notice that konqui looses the newlines. If you cannot reproduce on your setup, I will simply post to the ubuntu bugs database with a pointer to this page. Thanks. - Leon Bottou
Can't reproduce on dpkg-installed 3.5.1 under Kubuntu breezy either