Skip to content

Commit

Permalink
Fix raw html leaking in an error message
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Jun 23, 2023
1 parent 7c6b463 commit c328c3f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions qrenderdoc/Code/CaptureContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,13 @@ CaptureContext::CaptureContext(PersistantConfig &cfg) : m_Config(cfg)
}
else if(CrashDialog::CaptureTooLarge(m_Config))
{
text +=
tr("<html>Your capture is too lage to upload as a crash report so this can't be "
"automatically reported. "
"Please email me at <a "
"href=\"mailto:[email protected]?subject=RenderDoc%20Unrecoverable%20error\">"
"[email protected]</a> with information and I can help investigate.</html>");
text = tr("<html>%1<br><br>"
"Your capture is too lage to upload as a crash report so this can't be "
"automatically reported. "
"Please email me at <a "
"href=\"mailto:[email protected]?subject=RenderDoc%20Unrecoverable%20error\">"
"[email protected]</a> with information and I can help investigate.</html>")
.arg(text);
}
else
{
Expand Down

0 comments on commit c328c3f

Please sign in to comment.