Browse Source

Merge branch 'release/1.0.6'

Book Pauk 2 years ago
parent
commit
48eecf7b4c
3 changed files with 4 additions and 4 deletions
  1. 2 2
      package-lock.json
  2. 1 1
      package.json
  3. 1 1
      server/core/ZipReader.js

+ 2 - 2
package-lock.json

@@ -1,12 +1,12 @@
 {
 {
   "name": "inpx-web",
   "name": "inpx-web",
-  "version": "1.0.5",
+  "version": "1.0.6",
   "lockfileVersion": 2,
   "lockfileVersion": 2,
   "requires": true,
   "requires": true,
   "packages": {
   "packages": {
     "": {
     "": {
       "name": "inpx-web",
       "name": "inpx-web",
-      "version": "1.0.5",
+      "version": "1.0.6",
       "hasInstallScript": true,
       "hasInstallScript": true,
       "license": "CC0-1.0",
       "license": "CC0-1.0",
       "dependencies": {
       "dependencies": {

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "inpx-web",
   "name": "inpx-web",
-  "version": "1.0.5",
+  "version": "1.0.6",
   "author": "Book Pauk <bookpauk@gmail.com>",
   "author": "Book Pauk <bookpauk@gmail.com>",
   "license": "CC0-1.0",
   "license": "CC0-1.0",
   "repository": "bookpauk/inpx-web",
   "repository": "bookpauk/inpx-web",

+ 1 - 1
server/core/ZipReader.js

@@ -14,7 +14,7 @@ class ZipReader {
         if (this.zip)
         if (this.zip)
             throw new Error('Zip file is already open');
             throw new Error('Zip file is already open');
 
 
-         const zip = new StreamZip.async({file: zipFile});
+         const zip = new StreamZip.async({file: zipFile, skipEntryNameValidation: true});
          
          
         if (zipEntries)
         if (zipEntries)
             this.zipEntries = await zip.entries();
             this.zipEntries = await zip.entries();