Merge pull request #121 from KekmaTime/xss-fix
Browse files🛠️ fix: add changes to fix xss vulnerabilities
public/templates/search.html
CHANGED
@@ -4,12 +4,12 @@
|
|
4 |
<div class="results_aggregated">
|
5 |
{{#each results}}
|
6 |
<div class="result">
|
7 |
-
<h1><a href="{{this.visitingUrl}}">{{{this.title}}}</a></h1>
|
8 |
-
<small>{{this.url}}</small>
|
9 |
<p>{{{this.description}}}</p>
|
10 |
<div class="upstream_engines">
|
11 |
{{#each engine}}
|
12 |
-
<span>{{this}}</span>
|
13 |
{{/each}}
|
14 |
</div>
|
15 |
</div>
|
|
|
4 |
<div class="results_aggregated">
|
5 |
{{#each results}}
|
6 |
<div class="result">
|
7 |
+
<h1><a href="/{{{this.visitingUrl}}}">{{{this.title}}}</a></h1>
|
8 |
+
<small>{{{this.url}}}</small>
|
9 |
<p>{{{this.description}}}</p>
|
10 |
<div class="upstream_engines">
|
11 |
{{#each engine}}
|
12 |
+
<span>{{{this}}}</span>
|
13 |
{{/each}}
|
14 |
</div>
|
15 |
</div>
|