diff --git a/dokuwiki/action.php b/dokuwiki/action.php index aff65ac..e54b8e9 100644 --- a/dokuwiki/action.php +++ b/dokuwiki/action.php @@ -32,7 +32,7 @@ class action_plugin_hackerbase extends DokuWiki_Action_Plugin $act = act_clean($event->data); if ($act === 'payments') { global $INPUT; - $user = preg_replace("/[^a-zA-Z0-9\-]+/", "", $INPUT->server->str('REMOTE_USER')); + $user = $INPUT->server->str('REMOTE_USER'); echo file_get_contents($this->getConf("htmlexports") . '/' . $user . ".html"); die(); } else if ($act === 'brmstatus') { diff --git a/dokuwiki/conf/default.php b/dokuwiki/conf/default.php index 473f341..e1611a6 100644 --- a/dokuwiki/conf/default.php +++ b/dokuwiki/conf/default.php @@ -1,3 +1,3 @@