forked from ReVanced/revanced-patches-template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(reddit/sanitize-sharing-links): update patch to support latest ap…
…p version (ReVanced#2575)
- Loading branch information
1 parent
f90d1a6
commit 737be98
Showing
3 changed files
with
15 additions
and
46 deletions.
There are no files selected for viewing
22 changes: 0 additions & 22 deletions
22
...app/revanced/patches/reddit/misc/tracking/url/fingerprints/ShareLinkFactoryFingerprint.kt
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...p/revanced/patches/reddit/misc/tracking/url/fingerprints/ShareLinkFormatterFingerprint.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package app.revanced.patches.reddit.misc.tracking.url.fingerprints | ||
|
||
import app.revanced.patcher.fingerprint.method.impl.MethodFingerprint | ||
|
||
object ShareLinkFormatterFingerprint : MethodFingerprint( | ||
returnType = "Ljava/lang/String;", | ||
parameters = listOf("Ljava/lang/String;", "Ljava/util/Map;"), | ||
strings = listOf("uri.getQueryParameters(name)", "uri.queryParameterNames", "newUriBuilder.build().toString()"), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters