mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 20:16:22 +05:30
CVE-2019-8349 XSS vulnerabilities fix
This commit is contained in:
parent
fb6fac0af1
commit
ec1cf1d303
19 changed files with 31 additions and 190 deletions
|
|
@ -26,7 +26,7 @@
|
|||
</head>
|
||||
<?php
|
||||
if (isset($_GET['search'])) {
|
||||
$search = $_GET['search'];
|
||||
$search = _h($_GET['search']);
|
||||
$url = site_url() . 'search/' . remove_accent($search);
|
||||
header("Location: $url");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue