-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix raw html leaking in an error message
- Loading branch information
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
{ | ||
|