Go to file
Oliver Falk ed1e37b7ed fix: resolve test file upload handling issue
- Fix test to use SimpleUploadedFile instead of raw file object
- Change form.save() from static to instance method to access stored file data
- Fix file data handling in form save method to use sanitized/stored data
- Remove debug logging after successful resolution
- All upload tests now pass with full security validation enabled

The issue was that Django's InMemoryUploadedFile objects can only be read once,
so calling data.read() in the save method returned empty bytes after the
form validation had already read the file. The fix ensures we use the
stored file data from the form validation instead of trying to re-read
the file object.
2025-10-15 15:58:49 +02:00
2023-01-02 22:42:26 +01:00
2023-05-15 18:58:22 +00:00
2023-02-14 21:43:16 +01:00
2025-02-10 16:54:28 +01:00
2018-07-11 10:09:28 +02:00
2018-11-06 13:38:09 +01:00
2025-09-11 14:18:41 +02:00
2022-02-11 13:17:22 +01:00
2022-02-11 13:16:52 +01:00
2025-09-11 14:18:41 +02:00

ivatar / libravatar

Pipeline and coverage status

pipeline status coverage report

Reports / code documentation

Authors and contributors

Lead developer/Owner: Oliver Falk (aka ofalk or falko) - https://git.linux-kernel.at/oliver

Operations: Michal Novotny (aka clime)

QA: Tristan Le Guern (aka tleguern)

Frontend developer: Lukas Schönsgibl (aka hybridpicker), Niklas Poslovski (aka nipos)

Organisation/Meeting moderation: Lars Kruse (aka sumpfralle)

Initial developer: François Marier - https://fmarier.org/

Description
No description provided
Readme AGPL-3.0 32 MiB
Languages
PostScript 94.5%
Python 3.8%
CSS 0.7%
HTML 0.7%
JavaScript 0.3%