Implement url en/decoding
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
static enum MHD_Result handle_get(struct MHD_Connection *connection, SV url, Settings settings, SV username) {
|
||||
noh_arena_save(&temp);
|
||||
Noh_String fs_path = build_path(false, false, &settings.base_path, &username, &url);
|
||||
noh_string_replace(&fs_path, '+', ' ');
|
||||
url_decode(&fs_path);
|
||||
|
||||
noh_log(NOH_INFO, "Physical path: "Nsv_Fmt, Nsv_Arg(fs_path));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user