summaryrefslogtreecommitdiffstats
path: root/src/network/access
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/access')
-rw-r--r--src/network/access/qnetworkcookiejar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/access/qnetworkcookiejar.cpp b/src/network/access/qnetworkcookiejar.cpp
index 0856dd2252..62225b28d1 100644
--- a/src/network/access/qnetworkcookiejar.cpp
+++ b/src/network/access/qnetworkcookiejar.cpp
@@ -154,12 +154,12 @@ static inline bool isParentPath(const QString &path, const QString &reference)
return true;
//The cookie-path is a prefix of the request-path, and the last
//character of the cookie-path is %x2F ("/").
- if (reference.endsWith('/'))
+ if (reference.endsWith(u'/'))
return true;
//The cookie-path is a prefix of the request-path, and the first
//character of the request-path that is not included in the cookie-
//path is a %x2F ("/") character.
- if (path.at(reference.length()) == '/')
+ if (path.at(reference.length()) == u'/')
return true;
}
return false;