forked from leftypol/leftypol
lol
This commit is contained in:
parent
961e3d3fe0
commit
4cd2389655
2 changed files with 2 additions and 2 deletions
2
post.php
2
post.php
|
@ -273,7 +273,7 @@ if (isset($_POST['delete'])) {
|
|||
|
||||
if ($config['allow_upload_by_url'] && isset($_POST['file_url']) && !empty($_POST['file_url'])) {
|
||||
$post['file_url'] = $_POST['file_url'];
|
||||
if (!preg_match('@^https?:@//', $post['file_url']))
|
||||
if (!preg_match('@^https?://@', $post['file_url']))
|
||||
error($config['error']['invalidimg']);
|
||||
|
||||
if (mb_strpos($post['file_url'], '?') !== false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue