sharing: Fix wrong links on Apache2 directory index page

For example, when visiting '/share/myshare' then shared test.txt file links
to a wrong url /share/text.txt, it should be /share/myshare/text.txt.

This is related to #1676

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Veiko Aasa 2019-11-02 12:59:29 +03:00 committed by Sunil Mohan Adapa
parent 88bf07adee
commit 2c999899ea
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -67,8 +67,8 @@
<td class="share-name">{{ share.name }}</td>
<td class="share-path">{{ share.path }}</td>
<td class="share-url">
<a href="{{ share.url }}"
title="{{ share.url}}">
<a href="{{ share.url }}" title="{{ share.url}}"
data-turbolinks="false">
{{ share.url }}
</a>
</td>