Skip to content

Commit 1715b36

Browse files
committed
Update fix for submitted route
1 parent 6102b08 commit 1715b36

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/client.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ fn request(method: &'static Method, path: String, redirect: bool, quarantine: bo
181181
)
182182
};
183183

184-
// Check if multi sub requested. If so, replace "Android" with a tricky word.
185-
if path.contains('+') {
184+
// Check if multi sub requested, or if submitted was requested. If so, replace "Android" with a tricky word.
185+
// Issues: #78/#115, #116
186+
if path.contains('+') || path.contains("/submitted") {
186187
user_agent = user_agent.replace("Android", "Andr\u{200B}oid");
187188
}
188189

0 commit comments

Comments
 (0)