diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-11 11:20:31 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2024-09-11 11:20:31 +0200 |
commit | 19e47daa9c1fb55f2cb9e639d5a6ef16b5bc4e88 (patch) | |
tree | 2b98ac0700a11cb142625d8355019c44b49c1850 /browse.c | |
parent | 4e921ffa31fdca2425d326efda1c6d9ad190359a (diff) |
url: fix encoding for use in http context
Diffstat (limited to 'browse.c')
-rw-r--r-- | browse.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,8 +114,8 @@ build_file_list(struct kreq * r, const struct file * request_dir) || strcmp("..", dir->d_name) == 0) continue; /* build file path */ - file_path_len = url_build(file_path, PATH_MAX, r->path, - dir->d_name, NULL); + file_path_len = path_build(file_path, PATH_MAX, r->path, + dir->d_name, NULL); if (file_path_len == 0 || file_path_len >= PATH_MAX) { kutil_warn(r, NULL, "browse: unable to build file, skipping %s", |