Include file protocol in url checks