From de44715be354ea78e0d8a6801fa25a82093943c4 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Wed, 28 Aug 2019 23:11:04 -0600 Subject: [PATCH] Update paging.php (#4463) * Update paging.php * Update paging.php --- resources/paging.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/paging.php b/resources/paging.php index abf387b81e..96697d2c00 100644 --- a/resources/paging.php +++ b/resources/paging.php @@ -86,7 +86,7 @@ function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count $text = $language->get(); //print the link to access each page - $self = escape($_SERVER['PHP_SELF']); + $self = htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8'); $nav = ''; for($page = 1; $page <= $max_page; $page++){ if ($page == $page_number) {