Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N°7219 - Dashboard issue (fix 3.1) #682

Closed

Conversation

bdalsass
Copy link
Contributor

@bdalsass bdalsass added the bug Something isn't working label Nov 14, 2024
@bdalsass bdalsass self-assigned this Nov 14, 2024
@CombodoApplicationsAccount CombodoApplicationsAccount added the internal Work made by Combodo label Nov 14, 2024
@bdalsass bdalsass added this to the 3.1.3 milestone Nov 14, 2024
@bdalsass bdalsass requested a review from steffunky November 14, 2024 14:43
@@ -1268,8 +1268,8 @@ public function RenderEditor($oPage, $aExtraParams = array())
$sLayoutClass = utils::HtmlEntities($this->sLayoutClass);
$sAutoReload = $this->bAutoReload ? 'true' : 'false';
$sAutoReloadSec = (string) $this->iAutoReloadSec;
$sTitle = utils::HtmlEntities($this->sTitle);
$sFile = utils::HtmlEntities($this->GetDefinitionFile());
$sTitle = utils::EscapeHtml($this->sTitle);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Un double encodage va persister sur les caractères comme &, < et >. De plus, je pense que cela va régresser si le titre contient une simple quote. json_encode() serait l'outil approprié pour ce cas.

@bdalsass
Copy link
Contributor Author

I close this PR, correction for 3.x branches will be the same than the one applied to 2.7
#681

@bdalsass bdalsass closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internal Work made by Combodo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants