From 343f909497ac76a01cfc5a73760ff0356a2eb638 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:23:36 +0100 Subject: [PATCH 1/4] Update _common.sh: only display a warning when people are reverseproxying to an external IP --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index d271360..be244cc 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -11,6 +11,6 @@ _validate_redirect_uri() { # Avoid uncrypted remote destination with reverse proxy mode # Indeed the SSO send the password in all requests in HTTP headers if [[ "$redirect_type" = "reverseproxy" ]] && [[ ! $target =~ $URL_REGEX_SECURE ]]; then - ynh_die --message="For secure reason, you can't use an unencrypted http remote destination couple with ssowat for your reverse proxy: $target" 1 + ynh_print_warn --message="Reverseproxying using cleartext HTTP to a possibly external machine ($target) is insecure ... please be super careful about this." fi } From 326ba8363d02e39e59e45b7ea1da2569c4e920b8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Fri, 12 Jan 2024 17:24:58 +0100 Subject: [PATCH 2/4] Update manifest.toml: bump version --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 34058f7..e7562e7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Redirect" description.en = "Create a redirection or a proxy to another path" description.fr = "Créer une redirection ou un proxy vers un autre emplacement" -version = "2.0~ynh1" +version = "2.0~ynh3" maintainers = [] From 616a35bf5a12bdb1801d9ac9b5e6f55fc29a6e2e Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 12 Jan 2024 16:25:01 +0000 Subject: [PATCH 3/4] 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 6d93938..5319e5e 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ There two typical use cases are covered: - **reverse-proxy** : create an app tile to expose an app listening on a specific port, typically something that you manually installed (with or without Docker) locally or on another machine. -**Shipped version:** 2.0~ynh1 +**Shipped version:** 2.0~ynh3 ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index 3cbb381..943a477 100644 --- a/README_fr.md +++ b/README_fr.md @@ -23,7 +23,7 @@ Ces deux cas d'usage sont gérés: - **reverse-proxy** : créer une tuile pour une application locale qui écoute sur un port donné, typiquement quelque chose que vous avez installé manuellement (avec ou sans Docker), sur cette machine ou sur une autre machine. -**Version incluse :** 2.0~ynh1 +**Version incluse :** 2.0~ynh3 ## Documentations et ressources * Site officiel de l’app : From 70b7b71504639b50d4cd1962ecdd23966c6341ad Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 12 Jan 2024 16:25:34 +0000 Subject: [PATCH 4/4] Auto-update README --- README.md | 1 - README_fr.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 0c74ace..5319e5e 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ There two typical use cases are covered: **Shipped version:** 2.0~ynh3 - ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index 878ff0e..943a477 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,7 +24,6 @@ Ces deux cas d'usage sont gérés: **Version incluse :** 2.0~ynh3 - ## Documentations et ressources * Site officiel de l’app :