Commit 12cc7372 authored by jan.koester's avatar jan.koester
Browse files

search fixed

parent f6982bf4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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);