From 63d837796a0d3230497df9afdf396f282ea4e5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABlle=20van=20Essen?= Date: Sun, 15 May 2022 11:54:44 +0200 Subject: [PATCH] Fix Twitter ref_url parameter (#68) --- app/src/main/assets/rules.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/assets/rules.json b/app/src/main/assets/rules.json index 7cbe6ef..7eb1ec3 100644 --- a/app/src/main/assets/rules.json +++ b/app/src/main/assets/rules.json @@ -214,7 +214,8 @@ "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(twitter)(\\.[a-zA-Z]{2,})(.*\\?.*)", "completeProvider": false, "rules": [ - "(ref_)?src=[^\\/|\\?|&]*(\\/|&(amp;)?)?" + "src=[^\\/|\\?|&]*(\\/|&(amp;)?)?", + "ref_[a-z_]+=[^\\/|\\?|&]*(\\/|&(amp;)?)?" ], "exceptions": [], "redirections": []