mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-03 01:02:55 +01:00
chore: Sanitize spoof logs
This commit is contained in:
parent
3a978ecc92
commit
1f36aae81b
@ -32,7 +32,7 @@ public class SpoofClientPatch {
|
|||||||
String path = playerRequestUri.getPath();
|
String path = playerRequestUri.getPath();
|
||||||
|
|
||||||
if (path != null && path.contains("get_watch")) {
|
if (path != null && path.contains("get_watch")) {
|
||||||
Logger.printDebug(() -> "Blocking: " + playerRequestUri + " by returning unreachable uri");
|
Logger.printDebug(() -> "Blocking 'get_watch' by returning unreachable uri");
|
||||||
|
|
||||||
return UNREACHABLE_HOST_URI;
|
return UNREACHABLE_HOST_URI;
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@ public class SpoofClientPatch {
|
|||||||
String path = originalUri.getPath();
|
String path = originalUri.getPath();
|
||||||
|
|
||||||
if (path != null && path.contains("initplayback")) {
|
if (path != null && path.contains("initplayback")) {
|
||||||
Logger.printDebug(() -> "Blocking: " + originalUrlString + " by returning unreachable url");
|
Logger.printDebug(() -> "Blocking 'initplayback' by returning unreachable url");
|
||||||
|
|
||||||
return UNREACHABLE_HOST_URI_STRING;
|
return UNREACHABLE_HOST_URI_STRING;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user