Skip to content

Conversation

ethomson
Copy link
Member

Use Assembly.CodeBase instead of Assembly.EscapedCodeBase since
the latter does not actually properly escape the path in a reversible
way.

eg, if a path contains a space, it will be encoded as %20 in the
EscapedCodeBase however if a path contains a literal %20 then it
will also be encoded as %20.

Fixes #1389

Use `Assembly.CodeBase` instead of `Assembly.EscapedCodeBase` since
the latter does not actually properly escape the path in a reversible
way.

eg, if a path contains a space, it will be encoded as `%20` in the
`EscapedCodeBase` however if a path contains a literal `%20` then it
will _also_ be encoded as `%20`.
@sandorfr
Copy link

sandorfr commented Feb 26, 2017

Is there any chance to see this released soon?

Edit : Oops didn't see the prerelease package as it's not in the Releases on github https://www.nuget.org/packages/LibGit2Sharp/0.24.0-pre20170124092542

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.

3 participants