[Webkit-unassigned] [Bug 113001] New: Some Hebrew diacritics get messed up on form submission

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 21 21:38:21 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=113001

           Summary: Some Hebrew diacritics get messed up on form
                    submission
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://zapad.org/~ignatiev/temp/w4.php
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ikn at hotmail.com


Created an attachment (id=194439)
 --> (https://bugs.webkit.org/attachment.cgi?id=194439&action=review)
Source of PHP script to reproduce the problem

When I submit any form which has a text field which contains Hebrew diacritics U+05BC ("dagesh") and U+05B6 ("segol"), in this order, they get submitted to the server in the *opposite* order: U+05B6, U+05BC . While Hebrew word seems "same" visually, this "fixed" order is invalid (or at least non-standard), and regardless, browser obviously shouldn't change data entered into the form on its own, under any circumstances.

To demonstrate this issue, I wrote a simple PHP script (attached, and available online at http://zapad.org/~ignatiev/temp/w4.php), which allows user to fill a text field and then upon form submission to compare user input with what was actually submitted (via simple hash sum JavaScript implementation). You can play with it and see that it works fine for almost any text in any language you can enter.

If, however, you use button "initialize", script will initialize the text field to the string '\u05d1\u05bc\u05b5' (bet-dagesh-segol), and upon form submission the comparison test will FAIL; value submitted will be '\u05d1\u05b5\u05bc' bet-segol-dagesh.

This problem is reproducible in any WebKit-based browser I tried (Chrome Windows/Mac, Safari Mac/Windows/iPhone, Debian 6 "Web browser", also on the latest "nightly build", compiled from source on Linux/GTK), while it works fine in IE, Firefox, and (Presto-based) Opera.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list