projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Temporary fixes for php encoding library bugs ending with segfault.
[fa-stable.git]
/
includes
/
page
/
header.inc
diff --git
a/includes/page/header.inc
b/includes/page/header.inc
index ec80dc160973052d407325a37d60e7e951cc453c..7777dae422e66241483f09f5f2800e6160442949 100644
(file)
--- a/
includes/page/header.inc
+++ b/
includes/page/header.inc
@@
-40,9
+40,10
@@
function help_url($context=null)
if ($clean)
$help_page_url = access_string($help_page_url, true);
if ($clean)
$help_page_url = access_string($help_page_url, true);
- return htmlspecialchars($SysPrefs->help_base_url
+ return html_specials_encode(
+ $SysPrefs->help_base_url
.urlencode(strtr(ucwords($help_page_url), array(' '=>'', '/'=>'', '&'=>'And')))
.urlencode(strtr(ucwords($help_page_url), array(' '=>'', '/'=>'', '&'=>'And')))
- .'&ctxhelp=1&lang='.$country
, ENT_QUOTES
);
+ .'&ctxhelp=1&lang='.$country);
}
function send_css($css = '')
}
function send_css($css = '')