Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle staged changes with special characters in the filename #1667
Description of the Change
when a user clicks on a changed file in the
However, we were not properly encoding all components of this URI. Which is only a problem if there are special characters in the filename that need to be escaped. In this case, an invalid URI would be generated, Atom would look for a file that doesn't exist, and show an error state thinking that the entire repository had only been a dream.
This PR addresses this issue by URI encoding the relative path to the file.