Skip to content
New issue

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

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

Already on GitHub? # to your account

Relative URL troubles #94

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Relative URL troubles #94

wants to merge 2 commits into from

Conversation

dantleech
Copy link
Owner

This PR attempts to address #93 , and fixes two unrelated issues, but fails to reproduce #93 in a failing test.

Previously the any parent which ended with a "/", e.g. `foo/segment/` would
be interpreted as a "filename" and so the parent URL would be resolved
to "foo" rather than "foo/segment".
Previously resolved URLs were normalized, and trailing slashes were
removed, this meant that children of any resolved link would lose the
information indicating that their parent was a folder and not a
document, causing relative URLs to be misinterpreted.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant