WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
19682
Encoding issue with hebrew characters in an iframe
https://bugs.webkit.org/show_bug.cgi?id=19682
Summary
Encoding issue with hebrew characters in an iframe
Ojan Vafai
Reported
2008-06-19 16:40:11 PDT
The text gets garbled. This chunk of this page only works in IE as best I can tell. Load the page and scroll about halfway down. Screenshot coming...
Attachments
screenshot of the page in a number of browsers
(223.21 KB, image/gif)
2008-06-19 16:41 PDT
,
Ojan Vafai
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2008-06-19 16:41:44 PDT
Created
attachment 21851
[details]
screenshot of the page in a number of browsers
Alexey Proskuryakov
Comment 2
2008-06-19 17:42:45 PDT
The iframe content is coming from a different domain, and doesn't have encoding explicitly specified. IE gets the top frame encoding inherited from the main frame, but we think that this is a security problem. See <
http://www.mozilla.org/security/announce/2007/mfsa2007-02.html
> and <
http://www.opera.com/support/search/view/855/
> for some explanation. As such, there doesn't seem to be anything that we could do here.
Jungshik Shin
Comment 3
2008-06-26 14:30:51 PDT
Firefox inherits charset from the parent if a child and its parent are in the same domain. On the other hand, Safari does not inherit in any case. (
https://bugs.webkit.org/show_bug.cgi?id=6118
has that change.
https://bugs.webkit.org/show_bug.cgi?id=14683
has some more discussion) As a result, comments (that get unfolded with a mouse click on their title) at
http://community.walla.co.il/?w=/509/2766
get rendered gibberish (interpreted as the default charset) in Safari (unless the default is windows-1255) while it's rendered correctly in Firefox regardless of the default charset.
Alexey Proskuryakov
Comment 4
2008-06-26 22:50:02 PDT
This has changed, we do inherit charset from the parent now, as much as security rules allow (this is not shipping yet, but you should be able to verify with a nightly build).
> As a result, comments (that get unfolded with a mouse click on their title) at >
http://community.walla.co.il/?w=/509/2766
get rendered gibberish
I cannot reproduce this with ToT.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug