mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AvatarController@store and BaseApiController@avatarUpdate wrapped the upload flow in an empty catch(\Exception) block and returned a success response even when the upload or save failed. Log the exception and return a real error response (500 JSON for the API endpoint, a redirect with validation errors for the web endpoint). Adds regression tests covering the failure path, the success path, and non-image rejection. |
3 weeks ago | |
|---|---|---|
| .. | ||
| V1 | 4 weeks ago | |
| AdminApiController.php | 4 weeks ago | |
| ApiController.php | 4 weeks ago | |
| ApiV1Controller.php | 3 weeks ago | |
| ApiV1Dot1Controller.php | 3 weeks ago | |
| ApiV2Controller.php | 4 weeks ago | |
| BaseApiController.php | 3 weeks ago | |