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

UI can't escape html tags in logs #5945

Open
pseabra opened this issue Sep 12, 2024 · 4 comments
Open

UI can't escape html tags in logs #5945

pseabra opened this issue Sep 12, 2024 · 4 comments

Comments

@pseabra
Copy link

pseabra commented Sep 12, 2024

Bug description

When the logs have html tags and saves them to database, visualizing in UI breaks the log.

In my specific case, I have logs that contains <script>, and when I try to see the logs in UI, it breaks the log.

Broken log:
image
Complete log:
log

Expected behavior

When visualizing the logs in UI, it should be presented like it was saved in database.

How to reproduce

  1. Insert log in database with the text this is the first test <script> after the html tag
  2. When visualizing in UI, it will only show this is the first test

Version information

  • Signoz version: v0.52.0
  • Browser version: Vivaldi 6.9.3447.37
  • Your OS and version: Ubuntu 22.04.4 LTS
  • Your CPU Architecture(ARM/Intel): Intel
Copy link

welcome bot commented Sep 12, 2024

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.

@vikrantgupta25 vikrantgupta25 self-assigned this Sep 12, 2024
@vikrantgupta25
Copy link
Member

hey @pseabra thank you for reporting the issue, will get this fixed.

@MartinMachl
Copy link

Any updates on this issue?? closing in on six months since it was raised

@YounixM
Copy link
Member

YounixM commented Feb 20, 2025

@MartinMachl : Sorry about the delay in response. We haven't worked on this issue yet. Will get this prioritized in the next sprint and work on it.

@YounixM YounixM added the good first issue Good for newcomers label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants