Check for trailing "/" in URL, not `path.sep`