@@ -569,7 +569,8 @@ downloadOrRead s = do
569569 case parseURIReference' s' of
570570 Just u' -> openURL $ show $ u' `nonStrictRelativeTo` u
571571 Nothing -> openURL s' -- will throw error
572− (Nothing, s'@('/':'/':_)) -> -- protocol-relative URI
572+ (Nothing, s'@('/':'/':c:_)) | c /= '?' -> -- protocol-relative URI
573+ -- we exclude //? because of //?UNC/ on Windows
573574 case parseURIReference' s' of
574575 Just u' -> openURL $ show $ u' `nonStrictRelativeTo` httpcolon
575576 Nothing -> openURL s' -- will throw error