From f7de48589b5bcb06961cc26c7ab4e33c785ba1d2 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 5 Jul 2023 00:46:54 +0200 Subject: [PATCH 1/3] [autopatch] Fix Host and 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 9447ce4..be9d4bb 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,7 +7,7 @@ location __PATH__/ { proxy_pass http://127.0.0.1:__PORT__; proxy_set_header X-Real-IP $remote_addr; - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; #proxy_set_header X-NginX-Proxy true; From 5f91725d98d4827e27f8258959c396584bd7ec2b Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 29 Jul 2023 12:22:42 +0100 Subject: [PATCH 2/3] Update manifest.toml --- manifest.toml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/manifest.toml b/manifest.toml index f4dc70f..0e31e40 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Filebrowser" description.en = "Web File Browser" description.fr = "Gestionnaire de fichiers" -version = "2.23.0~ynh5" +version = "2.24.0~ynh1" maintainers = ["eric_G"] @@ -16,7 +16,7 @@ admindoc = "https://filebrowser.org/" code = "https://github.com/filebrowser/filebrowser" [integration] -yunohost = ">= 11.1.17" +yunohost = ">= 11.2" architectures = "all" multi_instance = true ldap = "not_relevant" @@ -43,14 +43,14 @@ ram.runtime = "50M" [resources.sources.main] in_subdir = false - amd64.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.23.0/linux-amd64-filebrowser.tar.gz" - amd64.sha256 = "87dfa8c34918951c4ea2f35c77106b9d4cbd5751774271ec26f70107bc4ca275" - arm64.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.23.0/linux-arm64-filebrowser.tar.gz" - arm64.sha256 = "2567cde3cffc1a62e28bf025adcc2607f558248cfe71a6e6bfe690027eebff89" - i386.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.23.0/linux-386-filebrowser.tar.gz" - i386.sha256 = "96b4c090448e69279d45c922840cbb5fc7499a834df961becf0a2e29a9cb7159" - armhf.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.23.0/linux-armv7-filebrowser.tar.gz" - armhf.sha256 = "4c38b372d4489c4180db34a02019022ee2e73fb172365aaba87f12e8ce78a769" + amd64.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.24.0/linux-amd64-filebrowser.tar.gz" + amd64.sha256 = "32359967dac20e19ae3aaf41f700a574fc6d99bef41b8455b23145d0bb29944b" + arm64.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.24.0/linux-arm64-filebrowser.tar.gz" + arm64.sha256 = "a8b4f6c1945d1835e70ce4d3fb6cff97df6c0c40301ad132048d4b3979754382" + i386.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.24.0/linux-386-filebrowser.tar.gz" + i386.sha256 = "ede3e8cd961fba960b1fdd677d9e3f3994531909e5ae9cb9ae8a73bb90e56df1" + armhf.url = "https://github.com/filebrowser/filebrowser/releases/download/v2.24.0/linux-armv7-filebrowser.tar.gz" + armhf.sha256 = "02689deb177c490a28277578fa4b27e372eec96700d9ec188059a4df4a040c37" autoupdate.strategy = "latest_github_release" autoupdate.asset.amd64 = "^linux-amd64-filebrowser.tar.gz$" From bb8a640b640d3a22cd348aa4d447fd650c6c800a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 29 Jul 2023 11:22:46 +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 af9c89b..ea09f58 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware. -**Shipped version:** 2.23.0~ynh5 +**Shipped version:** 2.24.0~ynh1 ## Screenshots diff --git a/README_fr.md b/README_fr.md index ecbbc5b..f854174 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po filebrowser provides a file managing interface within a specified directory and it can be used to upload, delete, preview, rename and edit your files. It allows the creation of multiple users and each user can have its own directory. It can be used as a standalone app or as a middleware. -**Version incluse :** 2.23.0~ynh5 +**Version incluse :** 2.24.0~ynh1 ## Captures d’écran