Skip to content

Commit

Permalink
Fix xss
Browse files Browse the repository at this point in the history
  • Loading branch information
orvice committed Jun 20, 2017
1 parent 015a73d commit 3936798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Controllers/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function register($request, $response, $args)
$ary = $request->getQueryParams();
$code = "";
if (isset($ary['code'])) {
$code = $ary['code'];
$code = Tools::checkHtml($ary['code']);
}
$requireEmailVerification = Config::get('emailVerifyEnabled');
return $this->view()->assign('code', $code)->assign('requireEmailVerification', $requireEmailVerification)->display('auth/register.tpl');
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

// BASE_PATH
define('BASE_PATH', __DIR__ . '/../');
define('VERSION', '3.4.5');
define('VERSION', '3.4.6');

// Vendor Autoload
require BASE_PATH . '/vendor/autoload.php';
Expand Down

0 comments on commit 3936798

Please sign in to comment.