Bug 24195 - webkit_web_view_load_uri() does not open URIs without protocol
Summary: webkit_web_view_load_uri() does not open URIs without protocol
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2009-02-26 04:50 PST by Emilio Pozuelo Monfort
Modified: 2009-02-26 12:04 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emilio Pozuelo Monfort 2009-02-26 04:50:12 PST
Hi,

It looks like webkit_web_view_load_uri() it won't do anything if the URI has not protocol. I could workaround it in Liferea by appending "http://" to the URI if it doesn't contain "://" in it, but that sounds quite hackish.

Could WebKit handle this?
Comment 1 Mark Rowe (bdash) 2009-02-26 05:39:06 PST
A URI by definition has a scheme associated with it.  WebKit shouldn't be trying to guess what scheme a malformed URL is associated with.