Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
chore: Sanitize spoof logs
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios committed May 28, 2024
1 parent 3a978ec commit 1f36aae
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static Uri blockGetWatchRequest(Uri playerRequestUri) {
String path = playerRequestUri.getPath();

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;
}
Expand All @@ -56,7 +56,7 @@ public static String blockInitPlaybackRequest(String originalUrlString) {
String path = originalUri.getPath();

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;
}
Expand Down

0 comments on commit 1f36aae

Please sign in to comment.