Skip to content

Commit

Permalink
Dev: Escape tainted string adminlang
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jan 31, 2019
1 parent c03183d commit dfcfe9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/views/admin/super/header.php
Expand Up @@ -5,7 +5,7 @@
*/
?>
<!DOCTYPE html>
<html lang="<?php echo str_replace('-informal','',$adminlang); ?>"<?php echo $languageRTL;?> >
<html lang="<?php echo str_replace('-informal','', htmlspecialchars($adminlang)); ?>"<?php echo $languageRTL;?> >
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
Expand Down

0 comments on commit dfcfe9f

Please sign in to comment.