-
Notifications
You must be signed in to change notification settings - Fork 58
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
This patch allows FlagRemoveDotSegments to work with relative links -- #5
This patch allows FlagRemoveDotSegments to work with relative links -- #5
Conversation
i.e. URL's that have the Host field set to the empty string. Just to be clear, relative links will be stored in URL's, typically, if the user expects to later call URL.ResolveReference to create a full URL. That seems to be a relatively common use-case.
Mentioning @PuerkitoBio so he can see this fork. |
This patch allows FlagRemoveDotSegments to work with relative links --
Thanks for the PR! |
This reverts commit 71fe85d. See PuerkitoBio/purell#5 for the cause of the mysterious `go test -v ./...` failure.
Hi! This PR has caused some new errors to show up in the Hugo Travis CI test running I am not saying that there is anything wrong with this PR (I haven't looked at it yet, and I have to go outside in a few minutes), but just a note that some behaviour has changed that needs investigation. :-) |
Thanks, will revert for not until I have time to investigate further. On Thu, Jan 22, 2015, 16:53 Anthony Fok notifications@github.com wrote:
|
Hi @PuerkitoBio, Wow, I didn't expect such a quick response! Actually, perhaps this "patch to allows FlagRemoveDotSegments to work with relative links" is good, and perhaps it is Hugo that needs to modified for the potentially improved behaviour in purell. :-) Anyhow, I think I will leave this to people more capable than me like you, @bjornerik, @tatsushid and @owenwaller to look into. :-) Thanks again! |
Oh sure , that revert is absolutely not a blame of the pr, it's just that I
|
Thanks Martin! Looks like this is out of my hands right now. But I'll keep -pete On Thu, Jan 22, 2015 at 11:30 PM, Martin Angers notifications@github.com
|
Hi guys, any word on this? Since this was reverted should the pull request be reissued? |
Sorry, I didn't have much time to go back to this yet. No need to resubmit, I can revert the revert if required. |
The PR is ready in the |
This reverts commit 71fe85d. See PuerkitoBio/purell#5 for the cause of the mysterious `go test -v ./...` failure.
i.e. URL's that have the Host field set to the empty string.
Just to be clear, relative links will be stored in URL's,
typically, if the user expects to later call URL.ResolveReference
to create a full URL. That seems to be a relatively common use-case.