Fix Issue8656 - urllib2 mangles file://-scheme URLs
diff --git a/Lib/urllib2.py b/Lib/urllib2.py
index 122f777..84f7833 100644
--- a/Lib/urllib2.py
+++ b/Lib/urllib2.py
@@ -1291,7 +1291,7 @@
             if not host or \
                 (not port and socket.gethostbyname(host) in self.get_names()):
                 return addinfourl(open(localfile, 'rb'),
-                                  headers, 'file:'+file)
+                                  headers, 'file://'+ host + file)
         except OSError, msg:
             # urllib2 users shouldn't expect OSErrors coming from urlopen()
             raise URLError(msg)