Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.4.0 Beta2
-
None
-
115ca6cd92 (qt/qthttpserver/dev) c8194bbfc1 (qt/qthttpserver/6.4)
-
Foundation PM Prioritized
Description
qhttpserverresponder.cpp:42 statusString map is missing a few of the status code 'translations' e.g. UpgradeRequired, ImATeapot (and others), which results in segfault upon serving the request (qhttpserverresponder.cpp:374).
- Add missing statusCode-string entries to the statusString map
- add check does stastusString map have the key before calling statusString.at() in writeStatusLine()