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

fix(frontend): HTML leak in job_detail #2316

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dorian-adams
Copy link
Contributor

Use striptags to strip all html from og:description, which was causing HTML to leak.

Resolves #2307

Use `striptags` to strip all html from `og:description`, which was causing HTML to leak.

Resolves python#2307
@dorian-adams
Copy link
Contributor Author

Wasn't sure whether someone else was still working on this, feel free to close if so.

Thanks.

@JacobCoffee JacobCoffee changed the title Fix HTML leak in job_detail fix(frontend): HTML leak in job_detail Sep 12, 2024
Copy link
Member

@JacobCoffee JacobCoffee left a comment

Choose a reason for hiding this comment

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

we can try this, escape didnt work and im unable to get it reproduced as broken in dev

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.

Job board: job_detail page leaks HTML from description
2 participants