Commits

Kirill Simonov  committed 273193a

Fixed %-decoding issues in the shell when it works as a default command.

  • Participants
  • Parent commits c7f3690

Comments (0)

Files changed (1)

File src/htsql_tweak/shell/default/act.py

         if not code:
             return match.group()
         code = int(code, 16)
-        if code < 0x20 or code == 0x25 or code == 0x7F:
+        if code == 0x00:
             return match.group()
         return chr(code)
     return escape_regexp.sub(replace, query)