mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Added togglable script escaping to page content
Configurable via 'ALLOW_CONTENT_SCRIPTS' env variable. Fixes #575
This commit is contained in:
@ -8,6 +8,8 @@ return [
|
||||
'books' => env('APP_VIEWS_BOOKS', 'list')
|
||||
],
|
||||
|
||||
'allow_content_scripts' => env('ALLOW_CONTENT_SCRIPTS', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Debug Mode
|
||||
|
Reference in New Issue
Block a user