[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [Bug 120251] New: Newlines in hidden input values are converted to
From:       Leon Bottou <leon () bottou ! org>
Date:       2006-01-16 16:31:40
Message-ID: 20060116173139.120251.leon () bottou ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=120251         
           Summary: Newlines in hidden input values are converted to spaces.
           Product: konqueror
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: khtml forms
        AssignedTo: konq-bugs kde org
        ReportedBy: leon bottou org


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.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic