We currently do some [super simple](https://github.com/desktop/desktop/blob/2bacd3a5c6f40961f425de04f4d401e5f8e1f17c/app/src/ui/create-branch/sanitized-branch-name.ts) branch name sanitization, but we need to do more. Mac's sanitization is here: https://github.com/github/Mac/blob/53a3a73d9e1268ebae46614f74052229b1dda70c/Classes/GHRepository.m#L983
Activity
shiftkey commentedon Aug 22, 2016
The regex we use on Windows
haacked commentedon Oct 12, 2016
This seems small enough for me to take on to dip my toes into Desktop development. 😄
Improve branch name sanitization