Merge branch 'dev' of /home/macgirvin/z into dev

This commit is contained in:
nobody 2021-02-03 14:30:15 -08:00
commit 1cbd2906d1
2 changed files with 1 additions and 5 deletions

View file

@ -1323,9 +1323,6 @@ function bbcode($Text, $options = []) {
// Replace any html brackets with HTML Entities to prevent executing HTML or script
// Don't use strip_tags here because it breaks [url] search by replacing & with amp
// experimental.... not yet working
// $Text = purify_html($Text);
$Text = str_replace("<", "&lt;", $Text);
$Text = str_replace(">", "&gt;", $Text);

View file

@ -1626,8 +1626,7 @@ CREATE TABLE if not exists oauth_access_tokens (
expires TIMESTAMP NOT NULL,
scope VARCHAR(4000),
PRIMARY KEY (id),
KEY `access_token` (`access_token`),
KEY `access_token` (`access_token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
CREATE TABLE if not exists oauth_authorization_codes (