mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::resource: Strip both sides during params string assignment.
This commit is contained in:
parent
2710701533
commit
2ad38e0865
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue