From 8310ddd7b390dbc6162e70d31b98ba64cd740d0f Mon Sep 17 00:00:00 2001 From: ewilly Date: Fri, 28 Jul 2023 20:55:13 +0200 Subject: [PATCH 1/3] Fix X-Forwarded-For header spoofing --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 59d60dc..8db957e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,7 @@ location / { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; - proxy_set_header X-Forwarded-Host $http_host; + proxy_set_header X-Forwarded-Host $host; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; From 2977fca024b395513665778da9b112d71060bffb Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 5 Aug 2023 06:41:15 +0000 Subject: [PATCH 2/3] Upgrade to v2023.8.1 --- manifest.toml | 2 +- scripts/_common.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 04f354c..90bbacf 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Home Assistant" description.en = "Home automation platform" description.fr = "Plateforme domotique" -version = "2023.7.3~ynh1" +version = "2023.8.1~ynh1" maintainers = ["ewilly"] diff --git a/scripts/_common.sh b/scripts/_common.sh index 931cd80..d527b17 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,11 +5,11 @@ #================================================= # Release to install -app_version=2023.7.3 +app_version=2023.8.1 # Requirements py_required_version=3.11.4 -pip_required="pip (<23.2,>=21.3.1)" +pip_required="pip (>=21.3.1)" # Fail2ban failregex="^%(__prefix_line)s.*\[homeassistant.components.http.ban\] Login attempt or request with invalid authentication from.* \(\).* Requested URL: ./auth/.*" From b7be4c54a7420649a7c7b3af8866defcbe226ecb Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 5 Aug 2023 06:41:19 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 58dfc2a..c048de5 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b - Home Energy Management." -**Shipped version:** 2023.7.3~ynh1 +**Shipped version:** 2023.8.1~ynh1 **Demo:** https://demo.home-assistant.io diff --git a/README_fr.md b/README_fr.md index c138b15..65efeaa 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ Open source home automation that puts local control and privacy first. Powered b - Home Energy Management." -**Version incluse :** 2023.7.3~ynh1 +**Version incluse :** 2023.8.1~ynh1 **Démo :** https://demo.home-assistant.io