mirror of
https://github.com/danpros/htmly.git
synced 2026-04-23 05:56:22 +05:30
[TASK] Security fix
This commit is contained in:
parent
27c3e6253f
commit
1fe0420748
1 changed files with 1 additions and 1 deletions
|
|
@ -995,7 +995,7 @@ post('/admin/import', function () {
|
|||
|
||||
$url = from($_REQUEST, 'url');
|
||||
$credit = from($_REQUEST, 'credit');
|
||||
if (!empty($url)) {
|
||||
if (login() && !empty($url) && $proper) {
|
||||
|
||||
get_feed($url, $credit);
|
||||
$log = get_feed($url, $credit);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue