postgres schema correction, filter the network parameter of the sites module.

This commit is contained in:
nobody 2020-12-17 16:09:01 -08:00
parent f424676d03
commit a3f4715e29
2 changed files with 3 additions and 3 deletions

View file

@ -6,8 +6,8 @@ use Zotlabs\Lib\Libzotdir;
class Sites extends \Zotlabs\Web\Controller {
function get() {
$sql_extra = (($_REQUEST['project']) ? " and site_project = '" . escape_tags(protect_sprintf($_REQUEST['project'])) . "' " : "");
$sql_extra = (($_REQUEST['project']) ? " and site_project = '" . escape_tags(protect_sprintf(escape_tags($_REQUEST['project']))) . "' " : "");
$desc = t('This page provides information about related projects and websites that are currently known to this system. These are a small fraction of the thousands of websites and dozens of projects and providers which make up the fediverse.');

View file

@ -213,7 +213,7 @@ CREATE TABLE "auth_codes" (
);
CREATE TABLE "block" (
block_id serial NOT NULL,
block_channel_id bigint UNSIGNED NOT NULL,
block_channel_id bigint NOT NULL,
block_entity text NOT NULL,
block_type bigint NOT NULL,
block_comment text NOT NULL,