chore: Sanitize spoof logs

This commit is contained in:
LisoUseInAIKyrios 2024-05-29 00:48:04 +04:00
parent 3a978ecc92
commit 1f36aae81b

View File

@ -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;
} }