Loading editor/src/webedit_server.cpp +10 −7 Original line number Diff line number Diff line Loading @@ -65,6 +65,7 @@ webedit::Server::~Server() { std::string webedit::Server::getCookie(libhttppp::HttpRequest &curreq, const std::string &name) { try { libhttppp::HttpCookie cookie; cookie.parse(curreq); auto *cd = cookie.getfirstCookieData(); Loading @@ -73,6 +74,8 @@ std::string webedit::Server::getCookie(libhttppp::HttpRequest &curreq, return cd->getValue(); cd = cd->nextCookieData(); } } catch (...) { } return ""; } Loading Loading
editor/src/webedit_server.cpp +10 −7 Original line number Diff line number Diff line Loading @@ -65,6 +65,7 @@ webedit::Server::~Server() { std::string webedit::Server::getCookie(libhttppp::HttpRequest &curreq, const std::string &name) { try { libhttppp::HttpCookie cookie; cookie.parse(curreq); auto *cd = cookie.getfirstCookieData(); Loading @@ -73,6 +74,8 @@ std::string webedit::Server::getCookie(libhttppp::HttpRequest &curreq, return cd->getValue(); cd = cd->nextCookieData(); } } catch (...) { } return ""; } Loading