From bfabe4ca98e0a3844b20826cead20a45206753d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20R=C3=B6bert?= Date: Sat, 16 Mar 2019 13:29:23 +0100 Subject: [PATCH] Add facebook redirection #150 --- data/data.json | 4 +++- data/data.min.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/data/data.json b/data/data.json index 1073eb4..d325ec1 100644 --- a/data/data.json +++ b/data/data.json @@ -203,7 +203,9 @@ "exceptions": [ ".*(facebook\\.)\\w{2,}.*(\\/plugins\\/).*" ], - "redirections": [] + "redirections": [ + ".*l\\.facebook\\..*\\/.*l\\.php\\?.*u=((https%3A%2F%2F|http%3A%2F%2F)[^&]*)" + ] }, "twitter": { "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(twitter)(\\.[a-zA-Z]{2,})(.*\\?.*)", diff --git a/data/data.min.json b/data/data.min.json index db9c62e..7f471c5 100644 --- a/data/data.min.json +++ b/data/data.min.json @@ -197,7 +197,9 @@ "exceptions": [ ".*(facebook\\.)\\w{2,}.*(\\/plugins\\/).*" ], - "redirections": [] + "redirections": [ + ".*l\\.facebook\\..*\\/.*l\\.php\\?.*u=((https%3A%2F%2F|http%3A%2F%2F)[^&]*)" + ] }, "twitter": { "urlPattern": "(https:\\/\\/|http:\\/\\/)([a-zA-Z0-9-]*\\.)?(twitter)(\\.[a-zA-Z]{2,})(.*\\?.*)",