Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix join_paths when left path is not canonical #1826

Merged
merged 1 commit into from
Jan 6, 2016

Conversation

mgreter
Copy link
Contributor

@mgreter mgreter commented Jan 6, 2016

We blindly count /./ as an actual directory, thus the
results were wrong when the right side starts with ../.

We blindly count `/./` as an actual directory, thus the
results were wrong when the right side starts with `../`.
@mgreter mgreter self-assigned this Jan 6, 2016
@mgreter mgreter added this to the 3.3.3 milestone Jan 6, 2016
@xzyfer
Copy link
Contributor

xzyfer commented Jan 6, 2016

Is this related to #1750?

If not do you think you can look into it? Feels like it might be a regression in the recent context refactor.

@mgreter
Copy link
Contributor Author

mgreter commented Jan 6, 2016

Hmm, could be, but no real way to test it with libsass. Saw it from a perl-libsass integration test ...

@mgreter
Copy link
Contributor Author

mgreter commented Jan 6, 2016

BTW. bug in join_paths was introduced with 5f9bc05.
It might be that we triggered it with some recent changes.

@xzyfer
Copy link
Contributor

xzyfer commented Jan 6, 2016

Interesting. Ship when ready.

@mgreter
Copy link
Contributor Author

mgreter commented Jan 6, 2016

Waiting for 🚥

mgreter added a commit that referenced this pull request Jan 6, 2016
Fix `join_paths` when left path is not canonical
@mgreter mgreter merged commit 252d117 into sass:master Jan 6, 2016
@mgreter mgreter deleted the bugfix/join_paths-util branch January 6, 2016 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants