Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1005 from Emoe/master
Browse files Browse the repository at this point in the history
Filtered some XSS in Error-Pages
  • Loading branch information
Visual Idiot committed Jan 30, 2016
2 parents 8b2eda9 + 158c0ea commit 8871a7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion anchor/views/error/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<h1>404</h1>

<p>The page <code><?php echo Uri::current(); ?></code> was not found.</p>
<p>The page <code><?php echo htmlspecialchars(Uri::current()); ?></code> was not found.</p>

<p>Try the <a href="/">homepage</a></p>

Expand Down
2 changes: 1 addition & 1 deletion install/views/error/404.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<h1>404</h1>

<p>The page <code><?php echo Uri::current(); ?></code> was not found.</p>
<p>The page <code><?php echo htmlspecialchars(Uri::current()); ?></code> was not found.</p>

<p>Try the <a href="/">homepage</a></p>

Expand Down
2 changes: 1 addition & 1 deletion system/error.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,4 @@ public static function log($e) {
}
}

}
}

0 comments on commit 8871a7f

Please sign in to comment.