[webkit-reviews] review requested: [Bug 14069] [S60]: Plug-in request for execution of JavaScript through NpnGetUrl API not working : [Attachment 14935] Resolve URL bug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 11 07:01:00 PDT 2007


maheshK <mahesh.kulkarni at nokia.com> has asked Sachin Padma
<Sachin.Padma at nokia.com> for review:
Bug 14069: [S60]: Plug-in request for execution of JavaScript through NpnGetUrl
API not working
http://bugs.webkit.org/show_bug.cgi?id=14069

Attachment 14935: Resolve URL bug
http://bugs.webkit.org/attachment.cgi?id=14935&action=edit

------- Additional Comments from maheshK <mahesh.kulkarni at nokia.com>
_REASON:
When "javascript:" is come in requested URL, browser tries to resolve that URL
with base URL. This process encodes special characters (in this case double
quotes). Then URL is sent to javascript execution. Javascript engine fails to
understand the content as URL has encoded script. 

_SOLUTION:
When "javascript:" is present in the URL, do not resolve URL. Even if
javascript makes a requests for a URL then that will be taken care by script
engine. 

_MODULE_EFFECTED: 
webKit/plugin plugin_loader

_TSW ERR_ID: MKUI-73GEH4



More information about the webkit-reviews mailing list