diff options
author | Mario <mario@mariovavti.com> | 2024-11-01 09:03:21 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-11-01 09:03:21 +0000 |
commit | c958cc6f90ca5cd9d5a792577128339eadbc8d1e (patch) | |
tree | a63da4a9dea58bfd479837febe292d7029f32a56 /view | |
parent | 38ac60e618056bcd3b399bf27b8711b4a3b35fe7 (diff) | |
download | volse-hubzilla-master.tar.gz volse-hubzilla-master.tar.bz2 volse-hubzilla-master.zip |
URL escape zid param in head.tplmaster
This should fix issue #1877 fully.
(cherry picked from commit 065f85bab11e13b95af6b99ce082c8a2f84a9de1)
Co-authored-by: Harald Eilertsen <haraldei@anduin.net>
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/head.tpl | 2 |
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 *}} |