mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-29 22:22:54 +02:00
CR fix for typo in comment
This commit is contained in:
parent
2020ce5907
commit
de75fe8e9f
1 changed files with 1 additions and 1 deletions
|
@ -2259,7 +2259,7 @@ bool DomainServer::handleHTTPRequest(HTTPConnection* connection, const QUrl& url
|
||||||
auto& firstFormData = formData[0];
|
auto& firstFormData = formData[0];
|
||||||
|
|
||||||
// check the file extension to see what kind of file this is
|
// check the file extension to see what kind of file this is
|
||||||
// to match sure we handle this filetype for a content restore
|
// to make sure we handle this filetype for a content restore
|
||||||
auto dispositionValue = QString(firstFormData.first.value("Content-Disposition"));
|
auto dispositionValue = QString(firstFormData.first.value("Content-Disposition"));
|
||||||
auto formDataFilenameRegex = QRegExp("filename=\"(\\S+)\"");
|
auto formDataFilenameRegex = QRegExp("filename=\"(\\S+)\"");
|
||||||
auto matchIndex = formDataFilenameRegex.indexIn(dispositionValue);
|
auto matchIndex = formDataFilenameRegex.indexIn(dispositionValue);
|
||||||
|
|
Loading…
Reference in a new issue