You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The trailing newline has always appeared on all error messages returned by yajl_get_error(), or at least has since 2007. If you set the verbose flag you even get multiple lines.
Should such a trailing newline be removed or are there concerns there? Or should clients of this library parse around it and handle the format themselves?
Is it correct to expect that all error messages will end with a new line?
In my use case scenario, the new line could be very annoying as reported here: owasp-modsecurity/ModSecurity#2278 (comment)
I understand that chomp is an option. However, I don't want to remove something that is eventually valid.
The text was updated successfully, but these errors were encountered: