[Webkit-unassigned] [Bug 14069] [S60]: Plug-in request for execution of JavaScript through NpnGetUrl API not working

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


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


mahesh.kulkarni at nokia.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14935|                            |review?(Sachin.Padma at nokia.c
               Flag|                            |om)




------- Comment #1 from mahesh.kulkarni at nokia.com  2007-06-11 07:00 PDT -------
Created an attachment (id=14935)
 --> (http://bugs.webkit.org/attachment.cgi?id=14935&action=view)
Resolve URL bug

_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 


-- 
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