Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #2031 #2033

Merged
merged 1 commit into from
Jan 15, 2023
Merged

fix #2031 #2033

merged 1 commit into from
Jan 15, 2023

Conversation

slingamn
Copy link
Member

Sanitize the in-band error message from REHASH

Example of the fixed output: :oragono.test 400 netcat REHASH :yaml: unmarshal errors: line 594: cannot unmarshal !!map into []logger.LoggingConfig

Replacing 400 ERR_UNKNOWNERROR with FAIL isn't such a good idea after all. FAIL requires a code and we don't have one specified for this case (or most of the other cases where we currently send a 400). A code of * would probably work but needs some discussion.

Sanitize the in-band error message from REHASH
@slingamn slingamn added this to the v2.12.0 milestone Jan 12, 2023
@slingamn slingamn merged commit 177133a into ergochat:master Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant