Fix: Clean output buffer in upload_profile_picture.php to prevent HTML in JSON response
- Move header() call to before any includes that might output - Start output buffering at the beginning - Clean output buffer before sending JSON response
This commit is contained in:
BIN
assets/images/pp/424b31c09e1543a922deb690bfbb57c8.png
Normal file
BIN
assets/images/pp/424b31c09e1543a922deb690bfbb57c8.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 291 KiB |
BIN
assets/images/pp/b8d7fa81c1ab3e67dc86441b09d927cd.jpg
Normal file
BIN
assets/images/pp/b8d7fa81c1ab3e67dc86441b09d927cd.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 170 KiB |
Reference in New Issue
Block a user