Loading src/blogi.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -311,9 +311,12 @@ void blogi::Blogi::searchPage(libhttppp::HttpRequest* curreq, const int tid, con if(wlen<strlen(curreq->getRequestURL())){ std::copy(curreq->getRequestURL()+wlen,curreq->getRequestURL()+(strlen(curreq->getRequestURL() - wlen)), std::copy(curreq->getRequestURL()+wlen,curreq->getRequestURL()+strlen(curreq->getRequestURL()), std::back_inserter(word)); std::cout.write(word.data(),word.size()) << std::endl; libhttppp::HttpForm form; form.urlDecode(word,searchstr); Loading Loading
src/blogi.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -311,9 +311,12 @@ void blogi::Blogi::searchPage(libhttppp::HttpRequest* curreq, const int tid, con if(wlen<strlen(curreq->getRequestURL())){ std::copy(curreq->getRequestURL()+wlen,curreq->getRequestURL()+(strlen(curreq->getRequestURL() - wlen)), std::copy(curreq->getRequestURL()+wlen,curreq->getRequestURL()+strlen(curreq->getRequestURL()), std::back_inserter(word)); std::cout.write(word.data(),word.size()) << std::endl; libhttppp::HttpForm form; form.urlDecode(word,searchstr); Loading