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 client setinfo lib-name and client setinfo lib-ver sub-commands are picky:
127.0.0.1:6379> client setinfo lib-name "a b"
(error) ERR lib-name cannot contain spaces, newlines or special characters.
127.0.0.1:6379> client setinfo lib-name "a-b"
OK
and
127.0.0.1:6379> client setinfo lib-ver "a b"
(error) ERR lib-ver cannot contain spaces, newlines or special characters.
127.0.0.1:6379> client setinfo lib-ver "a-b"
OK
This causes the library metadata to not be set at all; suggestion: fix this at the library level. We already perform client setname validation, removing invalid characters; however, I propose to replace any groups of invalid characters with a single - instead, to retain semantic grouping. I do not currently propose to change how client setname sanitizes anything, although that could also be considered.
The text was updated successfully, but these errors were encountered:
The
client setinfo lib-name
andclient setinfo lib-ver
sub-commands are picky:and
This causes the library metadata to not be set at all; suggestion: fix this at the library level. We already perform
client setname
validation, removing invalid characters; however, I propose to replace any groups of invalid characters with a single-
instead, to retain semantic grouping. I do not currently propose to change howclient setname
sanitizes anything, although that could also be considered.The text was updated successfully, but these errors were encountered: