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

fix: Crash when suggest merge/diff tool paths #7038

Conversation

RussKie
Copy link
Member

@RussKie RussKie commented Aug 22, 2019

If merge/diff tool paths enclosed in quotes, clicking on "Suggest" button would crash the app.

Fixes #7000

Proposed changes

  • Strip quotes from paths before attempting to suggest.

Test methodology

  • manual entering paths enclosed in ' and "

✒️ I contribute this code under The Developer Certificate of Origin.

If merge/diff tool paths enclosed in quotes, clicking on "Suggest" button
would crash the app.

Strip quotes from paths before attempting to suggest.

Fixes gitextensions#7000
@ghost ghost assigned RussKie Aug 22, 2019
Copy link
Member

@mstv mstv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved presuming the nulls will be handled

Copy link
Member

@gerhardol gerhardol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as @mstv said

@RussKie RussKie merged commit 2406eb8 into gitextensions:master Aug 23, 2019
@RussKie RussKie deleted the fix_7000_Crash_when_clicking_Suggest_button branch August 23, 2019 06:58
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.

Crash when clicking "Suggest" button next to merge/diff tool paths, when those paths contain forward slashes
3 participants