Skip to content

Commit

Permalink
MDL-49941 quiz: mod/quiz:grade should declare RISK_XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt authored and danpoltawski committed May 5, 2015
1 parent d938689 commit 10c2b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/quiz/db/access.php
Expand Up @@ -108,7 +108,7 @@

// Manually grade and comment on student attempts at a question.
'mod/quiz:grade' => array(
'riskbitmask' => RISK_SPAM,
'riskbitmask' => RISK_SPAM | RISK_XSS,
'captype' => 'write',
'contextlevel' => CONTEXT_MODULE,
'archetypes' => array(
Expand Down

0 comments on commit 10c2b92

Please sign in to comment.