Skip to content

Commit 5f0d7a5

Browse files
committed
xssClean needs HTML context
1 parent 86b62d5 commit 5f0d7a5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/github.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</body>
2929
<script>
3030
top.ICEcoder.githubAuthTokenSet = true;
31-
goNext = "'.xssClean($_GET['goNext']).'";
31+
goNext = "'.xssClean($_GET['goNext'],"html").'";
3232
if (goNext=="showManager") {
3333
top.ICEcoder.githubManager();
3434
}
@@ -213,4 +213,4 @@ function(err) {
213213
}
214214

215215
}
216-
?>
216+
?>

0 commit comments

Comments
 (0)