mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2017-02-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'lib/rdformpost.cpp'.
This commit is contained in:
@@ -559,14 +559,14 @@ void RDFormPost::LoadMultipartEncoding(char first)
|
||||
}
|
||||
else { // Read data
|
||||
if(filename.isEmpty()) {
|
||||
QString str=post_values.at(name).toString();
|
||||
QString str=post_values[name].toString();
|
||||
str+=QString(data);
|
||||
post_filenames[name]=false;
|
||||
post_values.at(name)=str.simplifyWhiteSpace();
|
||||
post_values[name]=str.simplifyWhiteSpace();
|
||||
}
|
||||
else {
|
||||
post_filenames[name]=true;
|
||||
post_values.at(name)=filename;
|
||||
post_values[name]=filename;
|
||||
write(fd,data,n);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user