mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:50:10 +00:00
Burn notices, burn
This commit is contained in:
parent
aa2ab3d0e7
commit
8b96a53fba
6 changed files with 36 additions and 30 deletions
|
@ -30,6 +30,10 @@ function bookmarklet_content(App $a)
|
|||
$page = normalise_link(System::baseUrl() . "/bookmarklet");
|
||||
|
||||
if (!strstr($referer, $page)) {
|
||||
if (empty($_REQUEST["url"])) {
|
||||
System::httpExit(400, ["title" => L10n::t('Bad Request')]);
|
||||
}
|
||||
|
||||
$content = add_page_info($_REQUEST["url"]);
|
||||
|
||||
$x = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue