[MOD] Encode parameters properly.
This commit is contained in:
parent
29070c8f41
commit
bca94c0309
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue