path-browserify
path-browserify copied to clipboard
Will it include the base attribute?
Ran into this issue when using the note path module:
https://stackoverflow.com/questions/59605333/not-using-the-base-attribute-when-making-domsanitizer-api-calls
The path created ends up prefixing the path from the application base attribute, and this is undesired.
Just curious whether this module will duplicate that behavior?
I'm not sure what that question is about exactly. If you pass URLs to path you will get bad behaviour because the path module only works with file paths, so it doesn't take into account the scheme:// and other URL-specific things.
Is that the information you're looking for or am I misunderstanding something?