fix: add format validation for gateway.nodes.denyCommands#3
Open
zelixag wants to merge 4 commits into
Open
Conversation
added 4 commits
March 18, 2026 14:37
The schtasks commands were using default output format which depends on system locale. On Windows systems with non-Western locales, this caused 'schtasks unavailable: unknown error' even when schtasks worked fine. Fixes: openclaw#49187
openclaw#49988 - Connection failures to local Ollama instances are common (e.g., Ollama not running), so they should be logged at debug level rather than warning level to avoid cluttering logs.
… unknown messageId openclaw#49978 - Discord delivery was reporting lastDelivered: true even when message actually failed because toDiscordSendResult returned 'unknown' as messageId instead of properly signaling failure. Now throws an error when message ID is missing from the send response.
openclaw#50011 - gateway.nodes.denyCommands silently accepts invalid command names. Now validates that command names don't contain whitespace, which is a common mistake when users try to use patterns instead of exact command names.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add format validation for denyCommands config to prevent whitespace in command patterns.
Changes
Closes openclaw#50011