From b81e8a2db891292bb20fc212469835baaba4ddc1 Mon Sep 17 00:00:00 2001 From: Shish Date: Sat, 30 Jul 2016 22:45:44 +0100 Subject: [PATCH] also explode tags on transload input --- ext/upload/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/upload/main.php b/ext/upload/main.php index 61c41d0f..26677242 100644 --- a/ext/upload/main.php +++ b/ext/upload/main.php @@ -178,7 +178,7 @@ class Upload extends Extension { } else if(!empty($_GET['url'])) { $url = $_GET['url']; - $tags = isset($_GET['tags']) ? $_GET['tags'] : 'tagme'; + $tags = isset($_GET['tags']) ? Tag::explode($_GET['tags']) : 'tagme'; $source = isset($_GET['source']) ? $_GET['source'] : $url; $ok = $this->try_transload($url, $tags, $source, $image_id); $this->theme->display_upload_status($page, $ok);