An error occurred while fetching this tab.
Remove base64 encoding from files that contain plain text
- Oct 18, 2018
-
-
Jacques Erasmus authored
Updated the file types for the unit tests in order for tests to pass.
-
Jacques Erasmus authored
Added the file to to the mock file in the unit tests.
-
Jacques Erasmus authored
Added file types to the mock files in the upload_spec tests.
-
Jacques Erasmus authored
Pretty printed the files I have changed.
-
Jacques Erasmus authored
I have added a changelog entry for removal of the base64 encoding on text-only files.
-
Jacques Erasmus authored
Added a null-safe check on the `encodedContent` property to cater for empty files.
-
Jacques Erasmus authored
Added the ability to test for file types before applying the regex, this should save some overhead when evaluating large files.
-
Jacques Erasmus authored
Updated the unit test description for testing plain text file uploads.
-
- Oct 17, 2018
-
-
Jacques Erasmus authored
Added functionality to check if file contents contains any characters outside of the ascii range.
-
Jacques Erasmus authored
Cleaned up the createFile method for better readability.
-
Jacques Erasmus authored
I have made changes to cater for handling plain text files and have since updated the unit tests accordingly.
-
Jacques Erasmus authored
Added functionality to determine if the file being uploaded contains plain text. This should resolve the issue where all non-text files were being base64 encoded even if they contain plain text.
-