mirror of
https://github.com/1f349/dendrite.git
synced 2025-02-09 16:16:39 +00:00
To avoid returning results from e.g. `/redact` on `/sendToDevice` requests. Takes the raw URL path and uses `filepath.Dir` to remove the `txnID` (file) from it. Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>