0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 14:08:23 -05:00

Merge pull request #121 from KekmaTime/xss-fix

🛠️ fix: add changes to fix xss vulnerabilities
This commit is contained in:
neon_arch 2023-07-03 17:15:50 +03:00 committed by GitHub
commit 7be6c6fedc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,12 +4,12 @@
<div class="results_aggregated"> <div class="results_aggregated">
{{#each results}} {{#each results}}
<div class="result"> <div class="result">
<h1><a href="{{this.visitingUrl}}">{{{this.title}}}</a></h1> <h1><a href="/{{{this.visitingUrl}}}">{{{this.title}}}</a></h1>
<small>{{this.url}}</small> <small>{{{this.url}}}</small>
<p>{{{this.description}}}</p> <p>{{{this.description}}}</p>
<div class="upstream_engines"> <div class="upstream_engines">
{{#each engine}} {{#each engine}}
<span>{{this}}</span> <span>{{{this}}}</span>
{{/each}} {{/each}}
</div> </div>
</div> </div>