Update fix for submitted route
This commit is contained in:
parent
6102b08894
commit
1715b36ae9
@ -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.
|
// Check if multi sub requested, or if submitted was requested. If so, replace "Android" with a tricky word.
|
||||||
if path.contains('+') {
|
// Issues: #78/#115, #116
|
||||||
|
if path.contains('+') || path.contains("/submitted") {
|
||||||
user_agent = user_agent.replace("Android", "Andr\u{200B}oid");
|
user_agent = user_agent.replace("Android", "Andr\u{200B}oid");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user