Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
Update pw_forgot.php
Browse files Browse the repository at this point in the history
 #84 XSS Prevention
  • Loading branch information
andreas83 committed Mar 23, 2017
1 parent 207efcd commit 1b0799d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/template/pw_forgot.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
include("header.php");
$mail=(isset($_POST['mail']) ? $_POST['mail'] : "" );
$mail=(isset($_POST['mail']) && filter_var($_POST['mail'], FILTER_VALIDATE_EMAIL) ? $_POST['mail'] : "" );

?>
<div class="container">
Expand Down

0 comments on commit 1b0799d

Please sign in to comment.