aboutsummaryrefslogtreecommitdiff
path: root/gui/unknown-game-dialog.cpp
diff options
context:
space:
mode:
authorThierry Crozat2019-04-29 22:44:16 +0100
committerThierry Crozat2019-04-29 22:50:53 +0100
commite4218e2e1d79b308544bcc8b7ed9385a2861b506 (patch)
tree0dd444aec5e6304116ccfefff517333c4618f1a7 /gui/unknown-game-dialog.cpp
parent94596c2b556536d9ca7229986f5d6fc10f93bb9c (diff)
downloadscummvm-rg350-e4218e2e1d79b308544bcc8b7ed9385a2861b506.tar.gz
scummvm-rg350-e4218e2e1d79b308544bcc8b7ed9385a2861b506.tar.bz2
scummvm-rg350-e4218e2e1d79b308544bcc8b7ed9385a2861b506.zip
GUI: Do not abuse the engine name query item to provide a summary
The redirect rule on the web site expected only two query items, one with the engine name and another one with the description. However it was a bit lax in its regex and we could pass additional query items as part of either the engine name or description. The unknown game dialog was abusing it to pass a summary. The rewrite rule for the URL on the web site has now been fixed to avoid such abuse. And instead it also adds a summary. So the unknown name dialog should no longer provide one.
Diffstat (limited to 'gui/unknown-game-dialog.cpp')
-rw-r--r--gui/unknown-game-dialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/gui/unknown-game-dialog.cpp b/gui/unknown-game-dialog.cpp
index 963abc6742..c6c6887a43 100644
--- a/gui/unknown-game-dialog.cpp
+++ b/gui/unknown-game-dialog.cpp
@@ -202,10 +202,8 @@ Common::String UnknownGameDialog::generateBugtrackerURL() {
return Common::String::format(
"https://www.scummvm.org/unknowngame?"
"engine=%s"
- "&summary=Unknown game variant for %s"
"&description=%s",
engineName.c_str(),
- engineName.c_str(),
report.c_str());
}