mirror of
https://github.com/friendica/friendica
synced 2025-04-20 05:10:11 +00:00
Still there had been notices - must have a good camouflage
This commit is contained in:
parent
b028de3aa3
commit
380eeaab88
4 changed files with 12 additions and 4 deletions
|
@ -133,6 +133,10 @@ class Proxy extends BaseModule
|
|||
$direct_cache = false;
|
||||
}
|
||||
|
||||
if (empty($_REQUEST['url'])) {
|
||||
System::httpExit(400, ["title" => L10n::t('Bad Request.')]);
|
||||
}
|
||||
|
||||
if (!$direct_cache) {
|
||||
$urlhash = 'pic:' . sha1($_REQUEST['url']);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue