aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index a261ae4..122bfee 100644
--- a/html.c
+++ b/html.c
@@ -5073,7 +5073,7 @@ int html_get_handler(const xs_dict *req, const char *q_path,
}
else
if (xs_startswith(p_path, "s/")) { /** a static file **/
- xs *l = xs_split(p_path, "/");
+ xs *l = xs_split_n(p_path, "/", 1);
const char *id = xs_list_get(l, 1);
int sz;