WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 162660
165597
When using contains Korean chraracter then crash `location.hash` value.
https://bugs.webkit.org/show_bug.cgi?id=165597
Summary
When using contains Korean chraracter then crash `location.hash` value.
Jung Yong Woo
Reported
2016-12-08 01:59:34 PST
Summary: When using contains Korean chraracter then crash `location.hash` value. Steps to Reproduce: 1. install Safari 2. launch Safari 3. move to
https://apple.com(or
another site) 4. Top menu -> for developer -> Show error console 5. below javascript code input to console location.hash = "한글 테스트" // input Korean character to location.hash; console.log(location.hash); // you will show "#\" in console, but must be `한글 테스트` or `%ED%95%9C%EA%B8%80%20%ED%85%8C%EC%8A%A4%ED%8A%B8`. Expected Results: "#한글 테스트" or "#%ED%95%9C%EA%B8%80%20%ED%85%8C%EC%8A%A4%ED%8A%B8" Actual Results: "#\" Version: OS X
Attachments
Add attachment
proposed patch, testcase, etc.
Jung Yong Woo
Comment 1
2016-12-08 06:24:59 PST
I think it relate to
https://bugs.webkit.org/show_bug.cgi?id=15182
Alex Christensen
Comment 2
2016-12-12 10:03:18 PST
I can reproduces this for the old URL::parse, but with the new URLParser this problem is fixed. It logs "%ED%95%9C%EA%B8%80% %ED%85%8C%EC%8A%A4%ED%8A%B8" and does not percent encode the space which matches Chrome and a recent change to the URL spec in
https://github.com/whatwg/url/pull/169
Could you verify the fix in Safari Tech Preview?
https://developer.apple.com/safari/technology-preview/
Jung Yong Woo
Comment 3
2016-12-14 04:57:56 PST
Thanks for your reply :) It works well in Safari Technology Preview.
Alex Christensen
Comment 4
2016-12-14 11:11:07 PST
*** This bug has been marked as a duplicate of
bug 162660
***
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