parent
3516dacefa
commit
8118e51999
@ -0,0 +1,15 @@
|
||||
---
|
||||
src/network/access/qhsts.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/src/network/access/qhsts.cpp
|
||||
+++ b/src/network/access/qhsts.cpp
|
||||
@@ -328,7 +328,7 @@ bool QHstsHeaderParser::parse(const QLis
|
||||
{
|
||||
for (const auto &h : headers) {
|
||||
// We use '==' since header name was already 'trimmed' for us:
|
||||
- if (h.first == "Strict-Transport-Security") {
|
||||
+ if (h.first.compare("Strict-Transport-Security", Qt::CaseInsensitive) == 0) {
|
||||
header = h.second;
|
||||
// RFC6797, 8.1:
|
||||
//
|
Loading…
Reference in new issue