Skip to content

Commit

Permalink
Merge pull request #18 from g-sato/fix_security_bug
Browse files Browse the repository at this point in the history
Security fix
  • Loading branch information
josephernest committed Oct 2, 2015
2 parents d037007 + de04f3c commit 84b9615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getpage($page)
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo (trim($pagetitle) ? "$sitename - $pagetitle" : "$sitename")?></title>
<base href="<?php echo $siteroot; ?>">
<base href="<?php echo htmlspecialchars($siteroot, ENT_QUOTES); ?>">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
Expand Down

0 comments on commit 84b9615

Please sign in to comment.