Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now
Space in file name causes URL Encoded file loop in Web IDE
<!--- Please read this! Before opening a new issue, make sure to search for keywords in the issues filtered by the "regression" or "bug" label: - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=regression - https://gitlab.com/gitlab-org/gitlab/issues?label_name%5B%5D=bug and verify the issue you're about to submit isn't a duplicate. ---> ### Summary When opening a file with a `space` in the filename, a new file with the `space` URL encoded (`%20`) is created. Clicking on that file creates a second file that encodes it again creating a never ending loop of files. ### Steps to reproduce Open any file with a space in the file name in the Web IDE. A new file will be created in the file tree and a tab opened. ### Example Project You can see the files created here: https://gitlab.com/phikai/my-public-test-project ### What is the current *bug* behavior? New files are created with URL Encoding ### What is the expected *correct* behavior? The file with the space is opened. ### Relevant logs and/or screenshots ![Screenshot_2020-02-24_09.09.55](/uploads/948327efecb1f357c02e2306a98ef263/Screenshot_2020-02-24_09.09.55.png)
issue