Commit 6226ce28 authored by Gandalf's avatar Gandalf
Browse files

fix(security): Validate username format in log_account endpoint

Add isSafeForLogging validation to prevent log injection attacks.
Only allows lowercase letters, numbers, dots, and hyphens (max 16 chars).
This blocks control characters like newlines that could be used to
forge fake log entries.
parent 1c6c6d59
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment