From 1715b36ae9f8d66758daaa7a5e7bc1a83f5e50e1 Mon Sep 17 00:00:00 2001 From: Matthew Esposito Date: Wed, 29 May 2024 20:02:56 -0400 Subject: [PATCH] Update fix for submitted route --- src/client.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/client.rs b/src/client.rs index 0c93fe3..5b8fe8f 100644 --- a/src/client.rs +++ b/src/client.rs @@ -181,8 +181,9 @@ fn request(method: &'static Method, path: String, redirect: bool, quarantine: bo ) }; - // Check if multi sub requested. If so, replace "Android" with a tricky word. - if path.contains('+') { + // Check if multi sub requested, or if submitted was requested. If so, replace "Android" with a tricky word. + // Issues: #78/#115, #116 + if path.contains('+') || path.contains("/submitted") { user_agent = user_agent.replace("Android", "Andr\u{200B}oid"); }