Skip to content

Conversation

dorian-adams
Copy link
Contributor

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

Resolves #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

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

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

Thanks @JacobCoffee , this is synced now.

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