Daily updates from Odoo
Wednesday, April 16, 2025
1 change · saas-17.2
Resolved issues and error corrections
Website form submissions that contain hidden NUL characters are now handled gracefully instead of causing an error. This helps prevent failed submissions and improves reliability for visitors using website forms.
Original PR description
This error often occurs when the data submitted through forms contains NUL characters. Error: ``ValueError: A string literal cannot contain NUL (0x00) characters.`` This commit will catch ValueError when the data with NUL characters is submitted through forms. sentry-5049576227 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr