Skip to content
Snippets Groups Projects
Commit fd84a2f0 authored by deuce's avatar deuce
Browse files

Fix bug in last commit

parent 120907ca
No related branches found
No related tags found
No related merge requests found
......@@ -1402,7 +1402,7 @@ static BOOL check_request(http_session_t * session)
}
last_slash=strrchr(path,'/');
if(last_slash==NULL)
last_slash=strrchr(path,'\');
last_slash=strrchr(path,'\\');
if(last_slash==NULL) {
send_error(session,"404 Not Found");
return(FALSE);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment