Skip to content

Remove base64 encoding from files that contain plain text

Jacques Erasmus requested to merge fix-base64-encoded-file-uploads into master

What does this MR do?

This merge request fixes the issue where files containing plain text were base64 encoded after being uploaded from the WebIDE.

Any file without the text/* mime type is base64 encoded and as a result, the contents of the file in the repo was base64 encoded even if it contains plain text.

This MR prevents this issue by removing the base64 encoding if the file contains plain text.

What are the relevant issue numbers?

Closes: #48746 (closed)

Does this MR meet the acceptance criteria?

screen_rec

Merge request reports