Revert "Merge branch 'optimise-avatar-requests-part-two' into 'master'"
Revert for #36122 (closed).
This is preventing some uploads from displaying. (Any with a non-Rails-matching format: for instance, '.xslx', or also '.PNG' as this is case-sensitive.)