From ea42b8e8e13406bb0010a96f5ca6145960294118 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sat, 17 May 2003 04:48:26 +0000
Subject: [PATCH] Fix another backslash issue for Win32

---
 src/sbbs3/websrvr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/websrvr.c b/src/sbbs3/websrvr.c
index 0fe18886a1..9c5ae581ea 100644
--- a/src/sbbs3/websrvr.c
+++ b/src/sbbs3/websrvr.c
@@ -1453,7 +1453,7 @@ static BOOL check_request(http_session_t * session)
 	SAFECOPY(str,path);
 	last_slash=str+strlen(root_dir)-1;
 	/* Loop while there's more /s in path*/
-	while((last_slash=strchr(last_slash+1,'/'))!=NULL) {
+	while(((last_slash=strchr(last_slash+1,'/'))!=NULL) || ((last_slash=strchr(last_slash+1,'\\'))!=NULL)) {
 		/* Terminate the path after the slash */
 		*(last_slash+1)=0;
 		strcat(str,"access.ars");
-- 
GitLab