CSV import missing file type and size validation #35
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
ImportExportController::import()accepts file uploads without validating:.csvextension checkcontent_typevalues are not validatedImpact
content_typevalues could pollute the databaseAcceptance Criteria
.csvtext/csvortext/plaincontent_typevalues against allowed list or patternFile
src/packages/com_mokoog/src/Controller/ImportExportController.php:87-110Branch created:
feature/35-csv-import-missing-file-type-and-size-va