diff --git a/wp-fdroid/wp-fdroid.php b/wp-fdroid/wp-fdroid.php index 98fffbdf..72c6d6f9 100644 --- a/wp-fdroid/wp-fdroid.php +++ b/wp-fdroid/wp-fdroid.php @@ -171,7 +171,7 @@ class FDroid $out.=$this->get_app($query_vars); } else { $out.='
'."\n"; } else { - $out.='Applications matching "'.$query_vars['fdfilter'].'"'; + $out.='Applications matching "'.esc_attr($query_vars['fdfilter']).'"'; } $out.=""; @@ -749,7 +749,7 @@ class FDroid $out.=''; foreach($query_vars as $name => $value) { if($value !== null && $name != 'fdfilter' && $name != 'fdpage') - $out.=''; + $out.=''; } return $out;