url: validate pathToFileURL(path) argument as string
#49161
+47
−5
Merged