Fix posting form to /updateconf (#506)

This commit is contained in:
Tindy X 2022-08-31 16:20:58 +08:00
parent 47f8e35565
commit 8e0389d7f2
No known key found for this signature in database
GPG Key ID: C6AD413169968D58

View File

@ -146,6 +146,7 @@ std::string getFormData(const std::string &raw_data)
file.append(buffer, j); file.append(buffer, j);
j = 0; j = 0;
}; };
file.erase(file.length() - bl);
break; break;
} }
i++; i++;