Multi-line content in additional remarks field breaks checksum integrity validation #46

Open
opened 2026-10-30 21:16:23 +00:00 by msz · 0 comments
Owner

Entering text with new line characters (initially reported example had a trailing one, but upon quick experimentation placement seems irrelevant) causes the server to reject the form by triggering the "Server side hash value does not match submitted hash value" error condition in this line.

The issue was previously addressed in 679af5a94b which was believed to solve the problem, but apparently it did not.

The mismatch in calculated checksums is concerning. I looked into it for a while today but failed to spot the cause of the problem.

Entering text with new line characters (initially reported example had a trailing one, but upon quick experimentation placement seems irrelevant) causes the server to reject the form by triggering the "Server side hash value does not match submitted hash value" error condition [in this line](https://hub.psychoinformatics.de/sfb1451/z03-assessment-center-data-entry/src/branch/master/server/store_data.py#L935). The issue was previously addressed in 679af5a94b9408a34ba36cc6db55184393f837c9 which was believed to solve the problem, but apparently it did not. The mismatch in calculated checksums is concerning. I looked into it for a while today but failed to spot the cause of the problem.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sfb1451/z03-assessment-center-data-entry#46
No description provided.