freeradius-server
freeradius-server copied to clipboard
Using %{Module-Failure-Message[*]} in rlm_linelog format results in mangled output
Issue type
- Defect - Unexpected behaviour (obvious or verified by project member).
Defect
How to reproduce the issue
The original issue was discovered when the 404 error output of the rlm_rest module was concatenated using %{Module-Failure-Message[*]} in an attempt to write it to a log file.
The 404 content was the default NGINX 404 error page.
Each line seemed to be significantly truncated in the log output.
the xlat buffers in v3 are generally fixed-size, i.e. 256 bytes or 1024 bytes. We can increase ehgtir size, but we can't fix the underlying issue.