0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::resource: Strip both sides during params string assignment.

This commit is contained in:
Jason Volk 2020-10-15 22:11:54 -07:00
parent 2710701533
commit 2ad38e0865

View file

@ -537,7 +537,7 @@ try
};
client.request.params = lstrip(head.path, resource->path);
client.request.params = rstrip(client.request.params, '/');
client.request.params = strip(client.request.params, '/');
client.request.parv =
{
client.request.param,