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

add a reverse mapping for url / path #2394

Merged
merged 1 commit into from
Oct 7, 2019
Merged

add a reverse mapping for url / path #2394

merged 1 commit into from
Oct 7, 2019

Conversation

yann300
Copy link
Collaborator

@yann300 yann300 commented Oct 5, 2019

This fixes the case where in the get of the provider we try to resolve the content using an URL and not a local path - see path = this.getPathFromUrl(path) || path // ensure we actually use the normalized path from here.
We do that by adding a reverse mapping (in order to get the path from the value).

@yann300 yann300 requested a review from LianaHus October 5, 2019 13:23
@yann300 yann300 merged commit 216b238 into master Oct 7, 2019
@yann300 yann300 deleted the reverseMapping branch October 7, 2019 04:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants