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

Not encode content from closure in data column #139

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

vjik
Copy link
Member

@vjik vjik commented Nov 27, 2023

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Fixed issues -

Copy link

what-the-diff bot commented Nov 27, 2023

PR Summary

  • Inclusion of New Library
    The developer has incorporated a tool named Yiisoft\Html\Html. This tool provides functionality for handling HTML construction in a simplified and secure manner.

  • Enhancement in renderBody Method - Part 1
    Within the renderBody method, the developer has introduced a call to Html::encode for processing the content. This is a mechanism to ensure the content to be displayed is free from harmful scripts that potentially harm or exploit our system.

  • Enhancement in renderBody Method - Part 2
    Another change in the renderBody method involves applying ->encode(false) to the 'cell' object. With this, the system will consider the raw data of the cell object as it is, without encoding. Therefore, it keeps the originality and authenticity of the content intact.

@vjik vjik merged commit 0c25a7f into master Nov 27, 2023
17 checks passed
@vjik vjik deleted the no-encode-data-content-from-closure branch November 27, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant