Skip to content

Escape file names in a NuGet compatible way - #996

Merged
forki merged 2 commits into
fsprojects:masterfrom
will14smith:bug.nupkgfilenameescaping
Aug 19, 2015
Merged

Escape file names in a NuGet compatible way#996
forki merged 2 commits into
fsprojects:masterfrom
will14smith:bug.nupkgfilenameescaping

Conversation

@will14smith

Copy link
Copy Markdown
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

forki commented Aug 19, 2015

Copy link
Copy Markdown
Member

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.

2 participants