summaryrefslogtreecommitdiff
path: root/includes/AjaxDispatcher.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-01-09 08:56:46 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-01-09 08:56:46 +0000
commit20194986f6638233732ba1fc3e838f117d3cc9ea (patch)
tree353069cf5ac40f4888eb24e146bda2e6243e8c75 /includes/AjaxDispatcher.php
parent56136136149363e23034a5e56df3bf69cefe7631 (diff)
Aktualisierung auf MediaWiki 1.8.3
Diffstat (limited to 'includes/AjaxDispatcher.php')
-rw-r--r--includes/AjaxDispatcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php
index 618c2736..c2744980 100644
--- a/includes/AjaxDispatcher.php
+++ b/includes/AjaxDispatcher.php
@@ -55,7 +55,7 @@ class AjaxDispatcher {
if (! in_array( $this->func_name, $wgAjaxExportList ) ) {
header( 'Status: 400 Bad Request', true, 400 );
- echo "unknown function {$this->func_name}";
+ print "unknown function " . htmlspecialchars( (string) $this->func_name );
} else {
try {
$result = call_user_func_array($this->func_name, $this->args);