path-browserify icon indicating copy to clipboard operation
path-browserify copied to clipboard

Will it include the base attribute?

Open fireflysemantics opened this issue 5 years ago • 1 comments

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?

fireflysemantics avatar Jan 07 '20 23:01 fireflysemantics

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?

goto-bus-stop avatar Jan 08 '20 09:01 goto-bus-stop