File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121#################### CONSTANTS ####################
2222
2323
24- ########## OTHERS ##########
24+ ########## OTHER ##########
2525
2626define ('SELF ' , (substr ($ sPhp_self ,-1 ) !== '/ ' ) ? $ sPhp_self . '/ ' : $ sPhp_self );
2727define ('RELATIVE ' , SELF );
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ function get_dir_list($sDir)
117117 */
118118function get_current_url ()
119119{
120- return PROT_URL . strip_tags ($ _SERVER ['SERVER_NAME ' ] . $ _SERVER ['REQUEST_URI ' ]);
120+ return PROT_URL . escape ($ _SERVER ['SERVER_NAME ' ] . $ _SERVER ['REQUEST_URI ' ]);
121121}
122122
123123/**
@@ -149,7 +149,7 @@ function set_lang()
149149}
150150
151151/**
152- * Escape function with htmlspecialchars() PHP function.
152+ * Escape string with htmlspecialchars() PHP function.
153153 *
154154 * @return string
155155 */
You can’t perform that action at this time.
0 commit comments