WebIDE: files are uploaded in base64 encoding
I created several Dockerfiles and tried to add them to existing project via WebIDE. Unfortunately, Dockerfiles were added as they were encoded in base64. When I renamed the source files to make them with *.txt extension, they could be uploaded correctly.
I checked and the behavior is repeatable. I believe that the problem is that browser can't guess the encoding of plain text Dockerfile and transfers it incorrectly. I use Chrome 67/Linux.
Also I want to mention that this issue was observed on gitlab.com.