Commit c6a04e17 authored by Sergey Lyubka's avatar Sergey Lyubka

Fix #523

parent c8e88e17
...@@ -3321,7 +3321,8 @@ static int find_index_file(struct connection *conn, char *path, ...@@ -3321,7 +3321,8 @@ static int find_index_file(struct connection *conn, char *path,
// If no index file exists, restore directory path // If no index file exists, restore directory path
if (!found) { if (!found) {
path[n] = '\0'; path[n] = '/';
path[n + 1] = '\0';
} }
return found; return found;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment