Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

url: resolve urls with . and .. #9427

Closed
wants to merge 1 commit into from

Conversation

misterdjules
Copy link

'.' and '..' are directory specs and resolving urls with or without the
hostname with '.' and '..' should add a trailing slash to the end of the
url.

Fixes #8992.

'.' and '..' are directory specs and resolving urls with or without the
hostname with '.' and '..' should add a trailing slash to the end of the
url.

Fixes nodejs#8992.
@misterdjules
Copy link
Author

@trevnorris @cjihrig After merging v0.10 into v0.12 and v0.12 in master, the revert of the original PR has landed into v0.12 and master.

According to my comment a while ago, I suggest landing the original PR in master, which is why this PR is created against master.

@trevnorris
Copy link

SGTM.

@cjihrig
Copy link

cjihrig commented Mar 17, 2015

Works for me too. LGTM

misterdjules pushed a commit that referenced this pull request Mar 17, 2015
'.' and '..' are directory specs and resolving urls with or without the
hostname with '.' and '..' should add a trailing slash to the end of the
url.

Fixes #8992.

Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #9427
@misterdjules
Copy link
Author

@amir-s @trevnorris @cjihrig Thank you! Finally landed for good in 9b534e2 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants