Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F60191872
Quiz.diff
SomeRandomDeveloper
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
SomeRandomDeveloper
May 18 2025, 8:32 PM
2025-05-18 20:32:14 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
Quiz.diff
View Options
diff --git a/templates/Setting.mustache b/templates/Setting.mustache
index 3c8cf54..b18106c 100644
--- a/templates/Setting.mustache
+++ b/templates/Setting.mustache
@@ -31,7 +31,7 @@
{{# isSettingOtherRow}}
<tr>
{{# notSimple}}
- <td><label for="ignoringCoef">{{{ wfMessage.quiz_ignoreCoef }}}</label></td>
+ <td><label for="ignoringCoef">{{ wfMessage.quiz_ignoreCoef }}</label></td>
<td><input type="checkbox" name="ignoringCoef" id="ignoringCoef" {{{ checked }}}/></td>
{{/ notSimple}}
{{# corrected}}
diff --git a/tests/phpunit/QuizTest.php b/tests/phpunit/QuizTest.php
index cea2d9b..57b52b3 100644
--- a/tests/phpunit/QuizTest.php
+++ b/tests/phpunit/QuizTest.php
@@ -84,7 +84,7 @@ class QuizTest extends QuizTestCase {
. "\n\t\t" . '<td><input class="numerical" type="number" ' .
'name="cutoffPoints" id="cutoffPoints" value="-1"/></td>' . "\n\t" .
'</tr>' . "\n\t" . '<tr>' . "\n\t\t" . '<td><label for="ignoringCoef">'
- . 'Ignore the questions' . "'" . ' coefficients:</label></td>'
+ . 'Ignore the questions' coefficients:</label></td>'
. "\n\t\t" . '<td><input type="checkbox" name="ignoringCoef" id="ignoringCoef" ' .
'checked="checked"/></td>' . "\n\t" .
'</tr>' . "\n\t" . '<tr>' . "\n\t\t\t\t\t"
@@ -107,8 +107,7 @@ class QuizTest extends QuizTestCase {
' value="0"/></td>' . "\n\t\t" . '<td class="margin incorrect"></td>' . "\n\t\t"
. '<td style="background: transparent;">Incorrect</td>' . "\n\t" . '</tr>'
. "\n\t" . '<tr>' . "\n\t\t" .
- '<td><label for="ignoringCoef">Ignore the questions'
- . "'" . ' coefficients:</label></td>'
+ '<td><label for="ignoringCoef">Ignore the questions' coefficients:</label></td>'
. "\n\t\t" . '<td><input type="checkbox" name="ignoringCoef" id="ignoringCoef"' .
' checked="checked"/></td>' . "\n\t\t" .
'<td class="margin NA"></td>' . "\n\t\t" .
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20141087
Default Alt Text
Quiz.diff (1 KB)
Attached To
Mode
T394612: CVE-2025-7057: Stored XSS through a system message in Extension:Quiz
Attached
Detach File
Event Timeline
Log In to Comment