Bug 24195

Summary: webkit_web_view_load_uri() does not open URIs without protocol
Product: WebKit Reporter: Emilio Pozuelo Monfort <pochu27>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Enhancement CC: mrowe, pochu27
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   

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.