Explorar o código

FIXED Problem in URL with special characters CT#1804

Alberto Torreblanca %!s(int64=14) %!d(string=hai) anos
pai
achega
6fd0117043
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      main/link/link_goto.php

+ 1 - 1
main/link/link_goto.php

@@ -21,7 +21,7 @@
 require_once '../inc/global.inc.php';
 $this_section = SECTION_COURSES;
 
-$link_url = Security::remove_XSS($_GET['link_url']);
+$link_url = html_entity_decode(Security::remove_XSS($_GET['link_url']));
 $link_id = intval($_GET['link_id']);
 
 // Launch event