You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling something like URI.fromFilePath('/').resolve('/path/with/initial/separator') fails with an errorIf a URI does not contain an authority component, then the path cannot begin with two slash characters ("//"). (Note that URI.resolve behaves like Node's path.join, not Node's path.resolve, which is URI.resolveToAbsolute).
Originally addressed in #15331 but that fix caused problems in webviews. See #15416 and #15420.
Bug Description:
Calling something like
URI.fromFilePath('/').resolve('/path/with/initial/separator')
fails with an errorIf a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")
. (Note that URI.resolve behaves like Node's path.join, not Node's path.resolve, which is URI.resolveToAbsolute).Originally addressed in #15331 but that fix caused problems in webviews. See #15416 and #15420.
Steps to Reproduce:
URI.fromFilePath('/initial/segments/').resolve('/path/with/initial/separator')
URI.fromFilePath('/').resolve('/path/with/initial/separator')
Additional Information
The text was updated successfully, but these errors were encountered: