Avatar uploads do not work v8.15.0
Summary
Uploading a user or project avatar does not work
Steps to reproduce
- Navigate to a project/profile settings
- Upload a new avatar
- Save changes
Expected behavior
Avatar is uploaded and saved in the /uploads
directory
Actual behavior
Avatar is not uploaded and not applied to the project
Started PATCH "/root/test-only-import"
Processing by ProjectsController#update as HTML
Parameters: {<removed> "avatar"=>#<UploadedFile:0x007f0eac1d0738 @content_type="application/octet-stream",
@original_filename="badjoke.png", @tempfile=#<File:/opt/gitlab/embedded/service/gitlab-rails/public/uploads/tmp/multipart-
970258679/badjoke.png>>}, "namespace_id"=>"root", "id"=>"test-only-import"}