diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-11-20 23:11:41 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-11-20 23:11:41 +0800 |
commit | 3711632c00f8538fd87ff1a14a028756f57239a2 (patch) | |
tree | b5033c821b98a4d03c5bc2a31e60fbb5ccf5c886 /test/test_variables.py | |
parent | 894a2620a7c9992ac009e3e35b0a95124b89f3cb (diff) | |
download | unit-3711632c00f8538fd87ff1a14a028756f57239a2.tar.gz unit-3711632c00f8538fd87ff1a14a028756f57239a2.tar.bz2 |
Var: improved variable parsing with empty names.
Unit parsed the case of "$uri$$host" into unknown variables.
This commit makes it invalid variable instead.
Diffstat (limited to 'test/test_variables.py')
-rw-r--r-- | test/test_variables.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_variables.py b/test/test_variables.py index 80236f65..ecce5e6d 100644 --- a/test/test_variables.py +++ b/test/test_variables.py @@ -378,6 +378,7 @@ Connection: close check_variables("${") check_variables("${}") check_variables("$ur") + check_variables("$uri$$host") check_variables("$uriblah") check_variables("${uri") check_variables("${{uri}") |