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

Escape file names in a NuGet compatible way #996

Merged
merged 2 commits into from Aug 19, 2015
Merged

Escape file names in a NuGet compatible way #996

merged 2 commits into from Aug 19, 2015

Conversation

will14smith
Copy link
Contributor

Fixes #975

I did some digging into what NuGet was actually doing. The claim that it URL encodes the paths is technically correct, it just chooses a strange selection of categories to encode. Eventually it calls this where it does the actual encoding.

I've also changed the extracting to URL decode the file paths.

Edit: Repro script here: https://gist.github.com/will14smith/3c87a3ac7cc82cd0034b

/cc @jamescrowley

forki added a commit that referenced this pull request Aug 19, 2015
Escape file names in a NuGet compatible way
@forki forki merged commit eb9d27e into fsprojects:master Aug 19, 2015
@forki
Copy link
Member

forki commented Aug 19, 2015

cool stuff

@will14smith will14smith deleted the bug.nupkgfilenameescaping branch August 19, 2015 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants