fix: Ensure protocol slashes are preserved in getSanitizedPath
#33978
+50
−9
getSanitizedPath
#33978