Skip to content

fix: bad path to default avatar provoking infinite loop & pdf timeout#383

Merged
fraxken merged 1 commit into
masterfrom
fix-pdf-timeout
Jul 9, 2024
Merged

fix: bad path to default avatar provoking infinite loop & pdf timeout#383
fraxken merged 1 commit into
masterfrom
fix-pdf-timeout

Conversation

@fraxken
Copy link
Copy Markdown
Member

@fraxken fraxken commented Jul 9, 2024

No description provided.

@fraxken fraxken requested a review from PierreDemailly July 9, 2024 12:23
@fraxken fraxken linked an issue Jul 9, 2024 that may be closed by this pull request
Comment thread public/scripts/main.js
imgEl.src = `https://gravatar.com/avatar/${md5(email)}?&d=404`;
imgEl.onerror = () => {
imgEl.src = kDefaultAvatarName;
imgEl.src = assetLocation + "/avatar-default.png";

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
@fraxken fraxken merged commit ac1f08a into master Jul 9, 2024
@fraxken fraxken deleted the fix-pdf-timeout branch July 9, 2024 12:35
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.

puppeteer PDF generation timeout

3 participants