diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2021-02-15 17:08:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 17:08:53 +0200 |
commit | 141ac8df59c1d77e2f2a10792ff34b26eb13bcf0 (patch) | |
tree | b589396e025583f951e4937efa0f190b14aeb4a4 /tests/integration/redis-cli.tcl | |
parent | 30775bc3e3a919e6a168523e772551332738e9f3 (diff) | |
download | redis-141ac8df59c1d77e2f2a10792ff34b26eb13bcf0.tar.gz |
Escape unsafe field name characters in INFO. (#8492)
Fixes #8489
Diffstat (limited to 'tests/integration/redis-cli.tcl')
-rw-r--r-- | tests/integration/redis-cli.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/redis-cli.tcl b/tests/integration/redis-cli.tcl index 1e346a9a5..d877542ed 100644 --- a/tests/integration/redis-cli.tcl +++ b/tests/integration/redis-cli.tcl @@ -109,7 +109,7 @@ start_server {tags {"cli"}} { test_interactive_cli "INFO response should be printed raw" { set lines [split [run_command $fd info] "\n"] foreach line $lines { - assert [regexp {^$|^#|^[a-z0-9_]+:.+} $line] + assert [regexp {^$|^#|^[^#:]+:} $line] } } |