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

Ensure htmlspecialchars is used for echo in U* classes #17865

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

trasher
Copy link
Contributor

@trasher trasher commented Sep 17, 2024

Checklist before requesting a review

Please delete options that are not relevant.

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

Ensure htmlspecialchars is used for echo in U* classes

src/User.php Outdated Show resolved Hide resolved
src/User.php Outdated Show resolved Hide resolved
src/User.php Outdated Show resolved Hide resolved
src/UserEmail.php Outdated Show resolved Hide resolved
trasher and others added 2 commits September 17, 2024 10:58
Co-authored-by: Cédric Anne <cedric.anne@gmail.com>
Co-authored-by: Cédric Anne <cedric.anne@gmail.com>
@trasher trasher requested a review from cedric-anne September 17, 2024 09:40
@cedric-anne cedric-anne merged commit c144e56 into glpi-project:main Sep 17, 2024
7 checks passed
@trasher trasher deleted the feature/U-xss branch September 17, 2024 11:33
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.

2 participants