neon_arch commited on
Commit
7be6c6f
2 Parent(s): 07ea0b0 8ddb6bd

Merge pull request #121 from KekmaTime/xss-fix

Browse files

🛠️ fix: add changes to fix xss vulnerabilities

Files changed (1) hide show
  1. public/templates/search.html +3 -3
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>