[MOD] Encode parameters properly.

This commit is contained in:
lda 2023-11-30 18:35:52 +01:00
parent 29070c8f41
commit bca94c0309
Signed by: lda
GPG key ID: 6898757653ABE3E6

View file

@ -23,6 +23,7 @@
*/
#include <HttpRouter.h>
#include <Http.h>
#include <Memory.h>
#include <HashMap.h>
#include <Str.h>
@ -266,7 +267,8 @@ HttpRouterRoute(HttpRouter * router, char *path, void *args, void **ret)
break;
}
ArrayAdd(matches, substr);
ArrayAdd(matches, HttpUrlDecode(substr));
Free(substr);
}
}
}