summarylogtreecommitdiffstats
path: root/mega.nz.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mega.nz.patch')
-rw-r--r--mega.nz.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/mega.nz.patch b/mega.nz.patch
deleted file mode 100644
index 9e98190bb5e4..000000000000
--- a/mega.nz.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/tools/dl.c b/tools/dl.c
-index 0f3771d..30b6465 100644
---- a/tools/dl.c
-+++ b/tools/dl.c
-@@ -179,10 +179,10 @@ int main(int ac, char* av[])
-
- // prepare link parsers
-
-- file_regex = g_regex_new("^https?://mega.co.nz/#!([a-z0-9_-]{8})!([a-z0-9_-]{43})$", G_REGEX_CASELESS, 0, NULL);
-+ file_regex = g_regex_new("^https?://mega(?:\\.co)?\\.nz/#!([a-z0-9_-]{8})!([a-z0-9_-]{43})$", G_REGEX_CASELESS, 0, NULL);
- g_assert(file_regex != NULL);
-
-- folder_regex = g_regex_new("^https?://mega.co.nz/#F!([a-z0-9_-]{8})!([a-z0-9_-]{22})$", G_REGEX_CASELESS, 0, NULL);
-+ folder_regex = g_regex_new("^https?://mega(?:\\.co)?\\.nz/#F!([a-z0-9_-]{8})!([a-z0-9_-]{22})$", G_REGEX_CASELESS, 0, NULL);
- g_assert(folder_regex != NULL);
-
- // create session