Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Security
-
HD-Enabler:Wilma
Description
Created question in FIWARE Q/A platform on 25-11-2015 at 13:11
Please, ANSWER this question AT https://stackoverflow.com/questions/33917143/fiware-pep-proxy-uploaded-zip-files-size-changes-when-uploaded-with-pep-standi
Question:
Fiware pep-proxy: Uploaded zip file's size changes when uploaded with PEP standing between client and REST API
Description:
I created REST web service using DjangoRestFramework that accepts some inputs and a zip file.
When i don't use PEP Proxy as a gateway between client(javascript app) and this web service, there are no problems, all data including zipped file are correct. But when I put PEP Proxy in the middle, my zip file size increases about 30MB and i get corrupted zip file, and the other data is ok.
Error message:
Zip file size: 73106015 bytes, number of entries: 1
error [/tmp/tmp1_GLtj.upload]: missing 3949084193 bytes in zipfile
(attempting to process anyway)
error [/tmp/tmp1_GLtj.upload]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
And real size of this file is 39055691 bytes.
How can PEP proxy change file that is being uploaded?
Activity
- All
- Comments
- History
- Activity
- Transitions
2017-05-22 15:06|CREATED monitor | # answers= 0, accepted answer= False