fix pagination components xss problem
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -88,6 +88,8 @@ exports.createPagination = function(pagination, options) { | @@ -88,6 +88,8 @@ exports.createPagination = function(pagination, options) { | ||
88 | } | 88 | } |
89 | } | 89 | } |
90 | 90 | ||
91 | + queryParams = encodeURI(queryParams); | ||
92 | + | ||
91 | template = '<div class="' + paginationClass + '">'; | 93 | template = '<div class="' + paginationClass + '">'; |
92 | 94 | ||
93 | // ========= Previous Button =============== | 95 | // ========= Previous Button =============== |
-
Please register or login to post a comment