You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently phpFITFileAnalysis contains a line (line 1476): filter_var($tmp_value, FILTER_SANITIZE_STRING);
According php manual this is deprecated as of PHP 8.1.0. It's recommended to use htmlspecialchars() instead. Everything works just fine if we would replace that to: $this->data_mesgs[$this->data_mesg_info[$this->defn_mesgs[$local_mesg_type]['global_mesg_num']]['mesg_name']][$this->data_mesg_info[$this->defn_mesgs[$local_mesg_type]['global_mesg_num']]['field_defns'][$field_defn['field_definition_number']]['field_name']][] = htmlspecialchars( (string)$tmp_value );
The text was updated successfully, but these errors were encountered:
Currently phpFITFileAnalysis contains a line (line 1476):
filter_var($tmp_value, FILTER_SANITIZE_STRING);
According php manual this is deprecated as of PHP 8.1.0. It's recommended to use htmlspecialchars() instead. Everything works just fine if we would replace that to:
$this->data_mesgs[$this->data_mesg_info[$this->defn_mesgs[$local_mesg_type]['global_mesg_num']]['mesg_name']][$this->data_mesg_info[$this->defn_mesgs[$local_mesg_type]['global_mesg_num']]['field_defns'][$field_defn['field_definition_number']]['field_name']][] = htmlspecialchars( (string)$tmp_value );
The text was updated successfully, but these errors were encountered: