GNOME Bugzilla – Bug 584537
Protocols like javascript:, mailto: not supported in webkit
Last modified: 2009-11-12 13:02:11 UTC
Hello, the current implementation of epiphany webkit seems to support only http and https. Neither javascript: nor mailto: nor ftp: are supported. Also, local files listing isn't supported too.
Confirmed.
This requires support in libsoup to be done properly. I believe there's a GSoC project for it.
bug 557777. Although that probably won't cover javascript: and mailto:
*** Bug 592050 has been marked as a duplicate of this bug. ***
** Bug 590972 - [epiphany] cannot open messages in Hotmail webmail ** might be related to this one .. right?
For the current Fedora "rawhide" tree, there is some progress reagrding the Hotmail issue [javascript]: - webkitgtk-1.1.14-3.fc12.x86_64 / midori-0.1.10-1.fc12.x86_64 [SUCCESS] - webkitgtk-1.1.14-3.fc12.x86_64 / epiphany-2.27.92-2.fc12.x86_64 [FAILURE]
Xan, what about a quick fix for mailto: links, such as checking for those in policy_decision_required_cb() and calling gtk_show_uri() ? Would it be accepted?
(In reply to comment #7) > Xan, what about a quick fix for mailto: links, such as checking for those in > policy_decision_required_cb() and calling gtk_show_uri() ? Would it be > accepted? +1 from me; sounds like a good idea to get this going while we don't have proper support in webkit, which may take a bit
Created attachment 145162 [details] [review] Encode the typed URL before passing it as a query string for searching This change makes sure that all characters that are typed make it to the search query. Thanks to Dan Winship for pointing out the solution. Bug #596717
Created attachment 145163 [details] [review] Pass mailto: URI to gtk_show_uri() (Part of) Bug #584537
Comment on attachment 145162 [details] [review] Encode the typed URL before passing it as a query string for searching Oops, git-bz error, I tested the gtk_show_uri() patch on gnome-2-28 as I don't have a recent enough WebKit at the moment, but it applies cleanly and should work on master.
(In reply to comment #11) > (From update of attachment 145162 [details] [review]) > Oops, git-bz error, I tested the gtk_show_uri() patch on gnome-2-28 as I don't > have a recent enough WebKit at the moment, but it applies cleanly and should > work on master. Thanks, I have pushed this to master now. I have also pushed another patch fixing the javascript: support, so I'm closing this bug.
*** Bug 598276 has been marked as a duplicate of this bug. ***
*** Bug 601318 has been marked as a duplicate of this bug. ***
Could this be merged in 2.28 branch please? Thanks a lot