[Webkit-unassigned] [Bug 12507] New: Hebrew form data can be uploaded with wrong encoding name (visual vs. logical)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 31 09:51:19 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12507

           Summary: Hebrew form data can be uploaded with wrong encoding
                    name (visual vs. logical)
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: darin at apple.com


<GMT25-Aug-2003 01:50:10GMT> Darin Adler:
The code that maps a QTextCodec back to an encoding name doesn't take the flags
into account. It should. The effect of this is that you can end up with the
name of a Hebrew visual encoding when you meant logical or vice versa.

<GMT25-Aug-2003 01:52:44GMT> Darin Adler:
The fix to this is relatively simple; just take the flags into account when
doing the reverse mapping. An even better fix would be to change things so that
we use the encoding name from the incoming side on the outgoing side; the
QTextCodec could remember the name it was created with. Then we could remove
the reverse mapping altogether.

I've attached a first cut at a patch.

<rdar://problem/3391826>


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



More information about the webkit-unassigned mailing list