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

NativePath: use Assembly.CodeBase #1409

Merged
merged 1 commit into from
Jan 13, 2017
Merged

NativePath: use Assembly.CodeBase #1409

merged 1 commit into from
Jan 13, 2017

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