CSP tweaks again, login uid fix, mild cleanup

This commit is contained in:
2021-08-12 14:49:45 -04:00
parent ff621bce35
commit 125441933c
10 changed files with 12 additions and 11 deletions

View File

@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
$app_disp_lang = filter_input(INPUT_POST, 'app_disp_lang', FILTER_SANITIZE_STRING); // GET SANITARY LANG CHOICE
$app_disp_lang = filter_input(INPUT_POST, 'app_disp_lang', FILTER_SANITIZE_FULL_SPECIAL_CHARS); // GET SANITARY LANG CHOICE
// only works with new php?
// setcookie ( 'app_disp_lang', $app_disp_lang, [
// 'expires' => time() + 60*60*24*90,