Skip to content

Commit

Permalink
Added additional html char encoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasPrt committed Jul 3, 2021
1 parent 26e95f1 commit ab8b686
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/smartphoniker-util.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,6 @@ function send_response( $message_was_sent, $success_message, $error_message ) {
*
* @since 1.1.5
*/
function sanitize_string(string $string) {
return filter_var($string, FILTER_SANITIZE_STRING);
function sanitize_string( string $string ) {
return htmlspecialchars( filter_var( $string, FILTER_SANITIZE_STRING ) );
}

0 comments on commit ab8b686

Please sign in to comment.