chocolatey / chocolatey/choco

AutoUninstaller - handle file paths with dashes and forward slashes

Open
#1,005 1 comment 0 reactions 1 assignee Claimed by @ferventcoder View on GitHub
0 - Backlog Bug
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

Auto uninstaller splits on `-` and `/` to split up options. However sometimes a file path could contain one or both of these - we should detect that we just split a file path and put it back together.

https://github.com/chocolatey/choco/blob/e447414d7a49223771a310ef01e9bc24744809ab/src/chocolatey/infrastructure.app/services/AutomaticUninstallerService.cs#L92

![image](https://cloud.githubusercontent.com/assets/63502/19202838/d8d25ed8-8c99-11e6-88db-dde8f8d33567.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.