[4.0] 68b8768 Restrict charset used for file_id.
Lasse Karstensen
lkarsten at varnish-software.com
Mon Sep 22 16:38:23 CEST 2014
commit 68b87684cbc1ff48174eb6bb3a58d453fbfb55af
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