[Scummvm-git-logs] scummvm master -> e4218e2e1d79b308544bcc8b7ed9385a2861b506
criezy
criezy at scummvm.org
Mon Apr 29 23:51:50 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e4218e2e1d GUI: Do not abuse the engine name query item to provide a summary
Commit: e4218e2e1d79b308544bcc8b7ed9385a2861b506
https://github.com/scummvm/scummvm/commit/e4218e2e1d79b308544bcc8b7ed9385a2861b506
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2019-04-29T22:50:53+01:00
Commit Message:
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.
Changed paths:
gui/unknown-game-dialog.cpp
diff --git a/gui/unknown-game-dialog.cpp b/gui/unknown-game-dialog.cpp
index 963abc6..c6c6887 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());
}
More information about the Scummvm-git-logs
mailing list