correct handling of zip characters
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 2 Dec 2015 14:35:19 +0000 (15:35 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Wed, 2 Dec 2015 14:35:19 +0000 (15:35 +0100)
Change-Id: Ifae715b80961ba8b602b4f15cadafb67b7f05bbb

wgtpkg-zip.c

index 6ca321f..9e51538 100644 (file)
@@ -49,7 +49,7 @@ static int is_valid_filename(const char *filename)
                if ((c < 0x1f)
                 || ((lastsp = (c == 0x20)) && index == 0)
                 || c == 0x7f || c == 0x3c || c == 0x3e
-                || c == 0x3a || c == 0x22 || c == 0x2f
+                || c == 0x3a || c == 0x22 
                 || c == 0x5c || c == 0x7c || c == 0x3f
                 || c == 0x2a || c == 0x5e || c == 0x60
                 || c == 0x7b || c == 0x7d || c == 0x21)