vinipsmaker / tufao

An asynchronous web framework for C++ built on top of Qt

Home Page:http://vinipsmaker.github.io/tufao/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only the first cookie is considered

dasloop opened this issue · comments

commented

A browser has more than one cookie but only the first is considered in:
QByteArray SessionStore::session(const HttpServerRequest &request) const

Because QNetworkCookie::parseCookies looks for cookies separated by a new line character but they are not.

Printing headers[i].constData() shows several cookies separated by spaces.

Thanks in advance

Issue confirmed. Thanks for the report. Gonna fix it in the next minutes.