summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent/ClientConnection.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-04-15 10:36:20 -0400
committerAndreas Kling <kling@serenityos.org>2021-04-16 19:19:31 +0200
commit2381b197198344544964aa19368cde2d35a35e14 (patch)
tree9aa2394c0f95113946487c72265aebe11be84b31 /Userland/Services/WebContent/ClientConnection.h
parent6e10c2cdb706f0f6a1a4cd600fadfa809026f622 (diff)
downloadserenity-2381b197198344544964aa19368cde2d35a35e14.zip
Browser+LibWeb+WebContent: Parse cookies in the OOP tab
To protect the main Browser process against nefarious cookies, parse the cookies out-of-process and then send the parsed result over IPC to the main process. This way, if the cookie parser blows up, only that tab will be affected.
Diffstat (limited to 'Userland/Services/WebContent/ClientConnection.h')
-rw-r--r--Userland/Services/WebContent/ClientConnection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/ClientConnection.h b/Userland/Services/WebContent/ClientConnection.h
index 3fd0a3c662..4027db85d7 100644
--- a/Userland/Services/WebContent/ClientConnection.h
+++ b/Userland/Services/WebContent/ClientConnection.h
@@ -29,6 +29,7 @@
#include <AK/HashMap.h>
#include <LibIPC/ClientConnection.h>
#include <LibJS/Forward.h>
+#include <LibWeb/Cookie/ParsedCookie.h>
#include <LibWeb/Forward.h>
#include <WebContent/Forward.h>
#include <WebContent/WebContentClientEndpoint.h>