Skip to content

Commit

Permalink
Sanitize error output.
Browse files Browse the repository at this point in the history
  • Loading branch information
forest-janrain committed Jul 14, 2011
1 parent 1681efe commit c534a8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions php/janrain-engage-php-sdk-0.1/console/index.php
Expand Up @@ -242,6 +242,7 @@
}

if (!empty($the_error)) {
$the_error = str_replace(ENGAGE_CONSOLE_API_KEY, $fourty_stars, $the_error);
$style .= ' #the_errors {
display:block;
}
Expand Down

0 comments on commit c534a8b

Please sign in to comment.