Fix query_displayip containing semicolon not showing in links

Closes #141
This commit is contained in:
Wruczek 2019-11-02 17:34:03 +01:00
parent 00a27f2e8e
commit cf6d9e046b
2 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@
<!-- The NBSP is here to preserve a space when the text gets truncated -->
<p>
<span><i class="fas fa-globe fa-fw"></i>{_"STATUS_ADDRESS"}&nbsp;</span>
<span><a href="ts3server://{$config["query_displayip"]}">{$config["query_displayip"]}</a></span>
<span><a href="ts3server://{$config["query_displayip"]|escapeurl}">{$config["query_displayip"]}</a></span>
</p>
<p>
<span><i class="fas fa-power-off fa-fw"></i>{_"STATUS_CLIENTS_ONLINE"}&nbsp;</span>

View File

@ -31,8 +31,8 @@
<!-- Not connected to the server message -->
<div class="not-connected text-center" style="display: none">
<h3>Not connected</h3>
<p>Connect to <a href="ts3server://{$config["query_displayip"]}">{$config["query_displayip"]}</a> and wait ±30 seconds.<br>The website will auto-refresh.</p>
<a href="ts3server://{$config["query_displayip"]}" class="btn btn-primary">
<p>Connect to <a href="ts3server://{$config["query_displayip"]|escapeurl}">{$config["query_displayip"]}</a> and wait ±30 seconds.<br>The website will auto-refresh.</p>
<a href="ts3server://{$config["query_displayip"]|escapeurl}" class="btn btn-primary">
<i class="fas fa-sign-in-alt"></i>Connect
</a>