From 7815463ba09fd0ec0bc973947a6770b2ec5b65f4 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 1 Aug 2025 10:51:10 +0200 Subject: [PATCH] ejabberd.yml.example: Use HOST_URL_ENCODE to handle case when vhost is non-latin1 --- ejabberd.yml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ejabberd.yml.example b/ejabberd.yml.example index 070194412..b9df7799b 100644 --- a/ejabberd.yml.example +++ b/ejabberd.yml.example @@ -179,7 +179,7 @@ modules: mod_fail2ban: {} mod_http_api: {} mod_http_upload: - put_url: https://@HOST@:5443/upload + put_url: https://@HOST_URL_ENCODE@:5443/upload custom_headers: "Access-Control-Allow-Origin": "https://@HOST@" "Access-Control-Allow-Methods": "GET,HEAD,PUT,OPTIONS"