You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by be...@apache.org on 2022/06/14 05:02:44 UTC
[cassandra] branch cassandra-3.11 updated: CQLSH unicode control character list is too liberal
This is an automated email from the ASF dual-hosted git repository.
bereng pushed a commit to branch cassandra-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/cassandra-3.11 by this push:
new f884dda75b CQLSH unicode control character list is too liberal
f884dda75b is described below
commit f884dda75b1427b8cb9aa64c46d30fb4c1eeffee
Author: Tanuj Nayak <ta...@live.com>
AuthorDate: Mon Jun 13 09:59:42 2022 +0200
CQLSH unicode control character list is too liberal
patch by Tanuj Nayak; reviewed by Berenguer Blasi, Brandon Williams for CASSANDRA-17617
---
pylib/cqlshlib/formatting.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pylib/cqlshlib/formatting.py b/pylib/cqlshlib/formatting.py
index d87e20602a..4f60a864e6 100644
--- a/pylib/cqlshlib/formatting.py
+++ b/pylib/cqlshlib/formatting.py
@@ -33,8 +33,8 @@ from util import UTC
is_win = platform.system() == 'Windows'
-unicode_controlchars_re = re.compile(r'[\x00-\x31\x7f-\xa0]')
-controlchars_re = re.compile(r'[\x00-\x31\x7f-\xff]')
+unicode_controlchars_re = re.compile(r'[\x00-\x1f\x7f-\xa0]')
+controlchars_re = re.compile(r'[\x00-\x1f\x7f-\xff]')
def _show_control_chars(match):
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org