GNOME Bugzilla – Bug 671792
Should append file:// to existing absolute paths
Last modified: 2012-03-14 15:34:24 UTC
So we can just type /home/kov, for instance, instead of file:///home/kov.
Created attachment 209410 [details] [review] Automatically prefix existing absolute paths with file://
Review of attachment 209410 [details] [review]: ::: embed/ephy-web-view.c @@ +2467,3 @@ + temp_url = g_strconcat ("file://", effective_url, NULL); + else + temp_url = g_strconcat ("http://", effective_url, NULL); This happens after the URI has been normalized, so anything starting with '/' that is a valid path should already have file:// before it, right? Why is it needed?
Review of attachment 209410 [details] [review]: ::: embed/ephy-web-view.c @@ +2467,3 @@ + temp_url = g_strconcat ("file://", effective_url, NULL); + else + temp_url = g_strconcat ("http://", effective_url, NULL); Oops. That's how I started the patch, probably just forgot to remove it, it is indeed not needed!
Created attachment 209665 [details] [review] Automatically prefix existing absolute paths with file://
Review of attachment 209665 [details] [review]: Thank you, looks good now.
Comment on attachment 209665 [details] [review] Automatically prefix existing absolute paths with file:// 398e670b1dd80cd0427a1db8a21dfc892bbe5eaf Thanks =)