mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-31 13:00:49 +00:00
Fix #523
This commit is contained in:
1 parent
c8e88e1710
commit
c6a04e1719
1 file changed
+2
-1
+2
-1
@@ -3321,7 +3321,8 @@ static int find_index_file(struct connection *conn, char *path,
|
||||
|
||||
// If no index file exists, restore directory path
|
||||
if (!found) {
|
||||
path[n] = '\0';
|
||||
path[n] = '/';
|
||||
path[n + 1] = '\0';
|
||||
}
|
||||
|
||||
return found;
|
||||
|
||||
Reference in new issue
Block a user