aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/index.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-11-01 22:22:07 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-11-01 22:22:07 +0300
commita0cbd394a11ac6bd7164f78fdd00f5aa738af09b (patch)
tree8537de11071d2a065f09c8574460bc712a54f51a /index.html
parentshorten permanent URLs (diff)
downloadwireguard-config-a0cbd394a11ac6bd7164f78fdd00f5aa738af09b.tar.gz
wireguard-config-a0cbd394a11ac6bd7164f78fdd00f5aa738af09b.zip
index.html: use escape_uri filter where appropriate
Diffstat (limited to '')
-rw-r--r--index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.html b/index.html
index 556374e..b4a55b4 100644
--- a/index.html
+++ b/index.html
@@ -52,13 +52,13 @@ params:
placeholder: IPv4 address and netmask, like 192.168.123.5/24
help: |
IPv4 address to assign to the client and its netmask in the CIDR format.
- example: 192.168.1.1%2F24
+ example: 192.168.1.1/24
- id: client_ipv6
name: IPv6
placeholder: IPv6 address and netmask, like fd01:2345:6789::5/48
help: |
IPv6 address to assign to the client and its netmask in the CIDR format.
- example: fd%3A%3A%2F48
+ example: fd::/48
---
<h1>WireGuard configuration</h1>
@@ -75,7 +75,7 @@ show the configuration that can be easily consumed by the new client.</p>
{% endfor %}
{% endfor %}
<p>An example configuration (with bogus key values) can be seen
-<a href="{{ example_url | baseurl }}">here</a>.</p>
+<a href="{{ example_url | escape_uri | baseurl }}">here</a>.</p>
</div>
</div>