Build failing dependency to make sure it is correctly included.

This commit is contained in:
Gonne 2025-02-23 22:23:36 +01:00
parent 184ca03624
commit 475c0c20bb
3 changed files with 27 additions and 8356 deletions

View file

@ -1,22 +0,0 @@
diff --git a/src/runtime/actions/action_redirect.rs b/src/runtime/actions/action_redirect.rs
index 5b4599d..bfb46b0 100644
--- a/src/runtime/actions/action_redirect.rs
+++ b/src/runtime/actions/action_redirect.rs
@@ -41,17 +41,6 @@ impl Redirect {
.count()
< ctx.runtime.max_received_headers
{
- // Try to avoid forwarding loops
- if !self.list
- && (address.eq_ignore_ascii_case(ctx.user_address.as_ref())
- || ctx.envelope.iter().any(|(e, v)| {
- matches!(e, Envelope::From)
- && v.to_string().eq_ignore_ascii_case(address.as_str())
- }))
- {
- return;
- }
-
if !self.copy && matches!(&ctx.final_event, Some(Event::Keep { .. })) {
ctx.final_event = None;
}