Commit 5bd49f28 authored by Steffen Hansen's avatar Steffen Hansen

Fix for reading cookies from Javascript

svn path=/trunk/kdelibs/; revision=74026
parent c6f1a295
......@@ -197,6 +197,10 @@ DOMString HTMLDocument::cookie() const
QString result;
stream2 >> result;
// Shave the header name away
if( result.left(7).lower() == "cookie:") {
result = result.mid(8);
}
return DOMString(result);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment