Skip to content

Space in file name causes URL Encoded file loop in Web IDE

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