Issue #2867336 by mbovan, jcnventura, Berdir, hchonov, gabesullice,...
Issue #2867336 by mbovan, jcnventura, Berdir, hchonov, gabesullice, jonathanshaw: File size validator should only respect the explicitly configured maximum file size
(cherry picked from commit c647ef4d)