diff options
author | Mario <mario@mariovavti.com> | 2024-11-01 09:02:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-11-01 09:02:37 +0000 |
commit | 541a0f6476ebf178ac141d09a30f6fca824eebcb (patch) | |
tree | 27f160b48a770fc49b490b0a73d03a065913532b /view/tpl | |
parent | 160c40b5807aea8e05f5cea6c4ed0115ac6a7f53 (diff) | |
parent | 065f85bab11e13b95af6b99ce082c8a2f84a9de1 (diff) | |
download | volse-hubzilla-541a0f6476ebf178ac141d09a30f6fca824eebcb.tar.gz volse-hubzilla-541a0f6476ebf178ac141d09a30f6fca824eebcb.tar.bz2 volse-hubzilla-541a0f6476ebf178ac141d09a30f6fca824eebcb.zip |
Merge branch 'issue-1877-more-fixes' into 'dev'
URL escape zid param in head.tpl
See merge request hubzilla/core!2154
Diffstat (limited to 'view/tpl')
-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 *}} |