1
0
Fork 0

Fix XSS vulnerability
continuous-integration/drone/push Build is passing Details

Then again, you shouldn't be exposing this app to the world.
pull/6/head
Ambrose Chua 2019-03-10 08:45:39 +08:00 committed by GitHub
parent 53a8b64ad2
commit d1217a09bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@
<input type="checkbox" class="custom-control-input multi-select" data-select="{{name}}" data-select-size="{{size}}" id="check{{@index}}">
<label class="custom-control-label d-flex align-items-start justify-content-between" for="check{{@index}}">
{{#if isdirectory}}
<a href="{{name}}/" class="name">{{name}}/</a>
<a href="./{{name}}/" class="name">{{name}}/</a>
{{else}}
<a href="{{name}}" class="name mr-auto">{{name}}</a>
<a href="./{{name}}" class="name mr-auto">{{name}}</a>
<span class="badge badge-pill badge-secondary">{{size}}</span>
{{/if}}
</label>