After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 584537 - Protocols like javascript:, mailto: not supported in webkit
Protocols like javascript:, mailto: not supported in webkit
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Backend
2.27.x
Other Linux
: Normal normal
: ---
Assigned To: Xan Lopez
Epiphany Maintainers
: 592050 598276 601318 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-01 19:30 UTC by Luca Bruno
Modified: 2009-11-12 13:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Encode the typed URL before passing it as a query string for searching (1.42 KB, patch)
2009-10-09 18:08 UTC, Frederic Peters
none Details | Review
Pass mailto: URI to gtk_show_uri() (1.14 KB, patch)
2009-10-09 18:09 UTC, Frederic Peters
none Details | Review

Description Luca Bruno 2009-06-01 19:30:09 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.
Comment 1 Reinout van Schouwen 2009-06-30 21:00:37 UTC
Confirmed.
Comment 2 Xan Lopez 2009-08-05 21:29:59 UTC
This requires support in libsoup to be done properly. I believe there's a GSoC project for it.
Comment 3 Dan Winship 2009-08-05 21:33:39 UTC
bug 557777. Although that probably won't cover javascript: and mailto:
Comment 4 Xan Lopez 2009-08-17 10:09:18 UTC
*** Bug 592050 has been marked as a duplicate of this bug. ***
Comment 5 Joachim Frieben 2009-09-16 15:15:25 UTC
** Bug 590972 - [epiphany] cannot open messages in Hotmail webmail ** might be related to this one .. right?
Comment 6 Joachim Frieben 2009-09-16 15:19:31 UTC
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]
Comment 7 Frederic Peters 2009-10-07 11:34:01 UTC
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?
Comment 8 Gustavo Noronha (kov) 2009-10-09 17:06:23 UTC
(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
Comment 9 Frederic Peters 2009-10-09 18:08:34 UTC
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
Comment 10 Frederic Peters 2009-10-09 18:09:06 UTC
Created attachment 145163 [details] [review]
Pass mailto: URI to gtk_show_uri()

(Part of) Bug #584537
Comment 11 Frederic Peters 2009-10-09 18:10:40 UTC
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.
Comment 12 Xan Lopez 2009-10-18 16:35:07 UTC
(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.
Comment 13 Xan Lopez 2009-10-18 16:36:37 UTC
*** Bug 598276 has been marked as a duplicate of this bug. ***
Comment 14 Gustavo Noronha (kov) 2009-11-09 22:39:23 UTC
*** Bug 601318 has been marked as a duplicate of this bug. ***
Comment 15 Pacho Ramos 2009-11-12 13:02:11 UTC
Could this be merged in 2.28 branch please? Thanks a lot