Merge branch 'master' into 12400

This commit is contained in:
Fred Tempez 2023-03-14 15:08:40 +01:00
commit abd64c2a9b
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,7 @@
## Version 12.3.02
- Amélioration de l'obfuscation.
- Corrige la limitation de 500 caractères des scripts JS et du style CSS stockés avec la page.
## Version 12.3.01
### Améliorations :

View File

@ -578,7 +578,7 @@ class page extends common
{
// Soumission du formulaire
if ($this->isPost()) {
$css = $this->getInput('pageCssEditorContent') === null ? '' : $this->getInput('pageCssEditorContent');
$css = $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageCssEditorContent', helper::FILTER_STRING_LONG);
// Enregistre le CSS
$this->setData([
'page', $this->getUrl(2),
@ -609,7 +609,7 @@ class page extends common
{
// Soumission du formulaire
if ($this->isPost()) {
$js = $this->getInput('pageJsEditorContent') === null ? '' : $this->getInput('pageJsEditorContent');
$js = $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG) === null ? '' : $this->getInput('pageJsEditorContent', helper::FILTER_STRING_LONG);
// Enregistre le JS
$this->setData([
'page', $this->getUrl(2),