dart-sass icon indicating copy to clipboard operation
dart-sass copied to clipboard

Ensure that all Sass source URLs are canonical

Open nex3 opened this issue 1 year ago • 1 comments

See https://github.com/sass/sass/issues/3908

nex3 avatar Aug 01 '24 22:08 nex3

Retargeting this as suggested in https://github.com/sass/sass/issues/3908#issuecomment-2264181533 to fix the loophole where the parser (and compile methods) may not canonicalize the source URLs they're passed, making it possible to have non-canonical URLs floating around. This is the root cause of non-absolute URLs showing up in the JS API.

I'm still marking this as blocked on 2.0.0, since it wreaks some havoc with the legacy JS API so we might as well wait until it's gone rather than devote a lot of effort trying to fix it.

nex3 avatar Aug 12 '24 19:08 nex3