Fix CGIFormData to actually store file-upload part content
File-upload parts (Content-Disposition with filename=) were unconditionally flagged currentSkip and discarded at PART_BOUNDARY, so every <field type="file"> upload site (track audio, presets, project icons) only ever received an empty value via $[fieldname], never the real uploaded bytes.
This commit is contained in:
1 parent
78c45d378c
commit
29db853706
2 files changed
+9
-5
No files matched your search
@@ -59,7 +59,6 @@ namespace coreutils {
|
||||
IMFHeader *headerParser = NULL;
|
||||
IMFBoundary *boundaryParser = NULL;
|
||||
MString currentName;
|
||||
bool currentSkip = false;
|
||||
std::map<MString, int> nameCounts;
|
||||
|
||||
void extractPartName(IMFHeader &header);
|
||||
|
||||
Reference in new issue
Block a user