Look for the source in _GET and not in _POST when uploading via _GET
This commit is contained in:
parent
e547b1362f
commit
71117cf8fa
@ -193,7 +193,7 @@ class Upload extends Extension {
|
||||
}
|
||||
else if(!empty($_GET['url'])) {
|
||||
$url = $_GET['url'];
|
||||
$source = isset($_POST['source']) ? $_POST['source'] : $url;
|
||||
$source = isset($_GET['source']) ? $_GET['source'] : $url;
|
||||
$tags = array('tagme');
|
||||
if(!empty($_GET['tags']) && $_GET['tags'] != "null") {
|
||||
$tags = Tag::explode($_GET['tags']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user