COMMONS-279 fix upload request for Firefox