aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-31 19:15:52 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-10-31 19:15:52 +0100
commit065f85bab11e13b95af6b99ce082c8a2f84a9de1 (patch)
tree27f160b48a770fc49b490b0a73d03a065913532b /view
parent160c40b5807aea8e05f5cea6c4ed0115ac6a7f53 (diff)
downloadvolse-hubzilla-065f85bab11e13b95af6b99ce082c8a2f84a9de1.tar.gz
volse-hubzilla-065f85bab11e13b95af6b99ce082c8a2f84a9de1.tar.bz2
volse-hubzilla-065f85bab11e13b95af6b99ce082c8a2f84a9de1.zip
URL escape zid param in head.tpl
This should fix issue #1877 fully.
Diffstat (limited to 'view')
-rw-r--r--view/tpl/head.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl
index bf61a7ee4..d2efcced9 100644
--- a/view/tpl/head.tpl
+++ b/view/tpl/head.tpl
@@ -11,7 +11,7 @@
var updateInterval = {{$update_interval}};
var sse_enabled = {{$sse_enabled}};
var localUser = {{if $local_channel}}{{$local_channel}}{{else}}false{{/if}};
- var zid = {{if $zid}}'{{$zid}}'{{else}}null{{/if}};
+ var zid = {{if $zid}}'{{$zid|escape:url}}'{{else}}null{{/if}};
var justifiedGalleryActive = false;
{{if $channel_hash}}var channelHash = '{{$channel_hash}}';{{/if}}
var channelId = {{if $channel_id}}{{$channel_id}}{{else}}false{{/if}};{{* Used in e.g. autocomplete *}}