2009-02-19 Gustavo Noronha Silva <gns@gnome.org>
[WebKit-https.git] / WebCore / platform / network / soup / ResourceHandleSoup.cpp
index 95c8385d6a31de5522b26775fad0839c4f35bd0d..22300de60de3aced339e30672fa5e9c8ee607bfc 100644 (file)
@@ -747,6 +747,7 @@ bool ResourceHandle::startGio(KURL url)
     // using GIO internally, and providing URIs instead of file paths
     url.removeRef();
     url.setQuery(String());
+    url.setPort(0);
 
     d->m_gfile = g_file_new_for_uri(url.string().utf8().data());
     g_object_set_data(G_OBJECT(d->m_gfile), "webkit-resource", this);