[master] 134f273 Restrict charset used for file_id.
Poul-Henning Kamp
phk at FreeBSD.org
Wed Jul 30 18:39:56 CEST 2014
commit 134f273bd4a1c1e04b700ae5e15c812d45992171
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Jul 30 16:39:37 2014 +0000
Restrict charset used for file_id.
Suggested by: scoof
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 25a901f..0553015 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -239,7 +239,7 @@ class Vmod(object):
#
fo.write("\t.file_id = \"")
for i in range(32):
- fo.write("%c" % random.randint(0x23,0x5b))
+ fo.write("%c" % random.randint(0x40,0x5a))
fo.write("\",\n")
fo.write("};\n")
More information about the varnish-commit
mailing list