Commit efc73993 authored by jan.koester's avatar jan.koester
Browse files

remove session works

parent c5966eed
Loading
Loading
Loading
Loading
Loading
+2 −2
Changes for src/admin.cpp: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -1443,7 +1443,7 @@ namespace authdb {

            uuid_clear(sid);

            if(sscanf(curreq->getRequestURL(),"/settings/[*/]/removesession/%s",sid)<0){
            if(sscanf(curreq->getRequestURL(),"/settings/%*[^/]/removesession/%s",csid)<0){
                throw AuthBackendError("removeSession: wrong url!");
            }

@@ -1631,7 +1631,7 @@ namespace authdb {
                }
            }

            char domain[255],url[255];
            char domain[255]={},url[255]={};

            if(sscanf(curreq->getRequestURL(),"/settings/%[^/]/%s",domain,url)<0)
                goto URLNOTFOUND;