Fixes handling of URLs without a specific protocol

Double slash was interpreted as absolute file path