Skip to content

Commit

Permalink
Replace filtering function
Browse files Browse the repository at this point in the history
  • Loading branch information
tltneon authored Feb 23, 2024
1 parent 0180ee0 commit 107bd26
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lgsl_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,7 @@ public function get_name($html = true) {
return LGSL::NONE;
}
if ($html) {
$d = LGSL::DB();
return $d->escape_string($this->_server['name']);
return htmlspecialchars($this->_server['name'], ENT_QUOTES);
}
return $this->_server['name'];
}
Expand Down

0 comments on commit 107bd26

Please sign in to comment.