activitypub-federation-rust/src
Kevin Kuriakose 7994df3706
Use OriginalUri for Axum ActivityData (#141)
* Use OriginalUri for axum ActivityData

When the inbox path is under a nested `Router`, the received request has a URI
with the common prefix stripped. This causes incoming signatures to be considered
invalid since the path is different (see https://github.com/LemmyNet/activitypub-federation-rust/issues/107#issuecomment-2767428107)

This commit uses `OriginalUri` for URI extraction instead, which will retrieve
the full URI regardless of router nesting

* Use router nesting for local_federation

With 8c787f5, router nesting is supported correctly in axum

* Fix docs typo (#143)

---------

Co-authored-by: Zami <szgie@proton.me>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2025-06-02 04:56:25 -04:00
..
actix_web Upgrade deps (#135) 2025-06-02 04:39:58 -04:00
axum Use OriginalUri for Axum ActivityData (#141) 2025-06-02 04:56:25 -04:00
fetch Upgrade deps (#135) 2025-06-02 04:39:58 -04:00
protocol Add verify_is_remote_object (#136) 2025-01-21 12:59:35 +01:00
traits Upgrade deps (#135) 2025-06-02 04:39:58 -04:00
activity_queue.rs Upgrade axum and http (#123) 2024-09-11 08:47:13 -04:00
activity_sending.rs Clippy fixes, add cargo shear 2025-01-21 12:58:13 +01:00
config.rs Upgrade deps (#135) 2025-06-02 04:39:58 -04:00
error.rs Upgrade deps (#135) 2025-06-02 04:39:58 -04:00
http_signatures.rs Upgrade deps (#135) 2025-06-02 04:39:58 -04:00
lib.rs Upgrade deps (#135) 2025-06-02 04:39:58 -04:00
reqwest_shim.rs Better JSON error messages (#91) 2023-12-20 06:19:58 -05:00