From ce5a8983e4206796b7589db7122a3eaf7af26556 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 8 Mar 2022 17:43:34 +0300 Subject: [PATCH 1/3] fix(install) : curl needs --globoff ? --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index bbfeab6..146ca1c 100755 --- a/scripts/install +++ b/scripts/install @@ -126,7 +126,7 @@ ynh_local_curl "/?PagePrincipale&installAction=install" "config[default_language "config[root_page]=PagePrincipale" "config[mysql_host]=localhost" \ "config[mysql_database]=$app" "config[mysql_user]=$db_user" "config[mysql_password]=$db_pwd" "config[table_prefix]=yeswiki_" \ "admin_name=$admin" "admin_password=$admin_temp_pass" "admin_password_conf=$admin_temp_pass" \ - "admin_email=$admin@$domain" "submit=Continue" + "admin_email=$admin@$domain" "submit=Continue" --globoff # authorization of html ynh_replace_string --match_string="'allow_raw_html' => false," --replace_string="'allow_raw_html' => true," --target_file="$final_path/wakka.config.php" From d0b7319239e324e82ec8126de35b96c96ed0bdb2 Mon Sep 17 00:00:00 2001 From: Florian Date: Tue, 8 Mar 2022 17:47:18 +0300 Subject: [PATCH 2/3] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 146ca1c..eccfa33 100755 --- a/scripts/install +++ b/scripts/install @@ -126,7 +126,7 @@ ynh_local_curl "/?PagePrincipale&installAction=install" "config[default_language "config[root_page]=PagePrincipale" "config[mysql_host]=localhost" \ "config[mysql_database]=$app" "config[mysql_user]=$db_user" "config[mysql_password]=$db_pwd" "config[table_prefix]=yeswiki_" \ "admin_name=$admin" "admin_password=$admin_temp_pass" "admin_password_conf=$admin_temp_pass" \ - "admin_email=$admin@$domain" "submit=Continue" --globoff + "admin_email=$admin@$domain" "submit=Continue" "--globoff" # authorization of html ynh_replace_string --match_string="'allow_raw_html' => false," --replace_string="'allow_raw_html' => true," --target_file="$final_path/wakka.config.php" From ea0efa035fd790aa0a046771632f324b9b8f8c33 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Tue, 8 Mar 2022 19:00:38 +0300 Subject: [PATCH 3/3] fix(install): url encode @ --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index eccfa33..7fe77c7 100755 --- a/scripts/install +++ b/scripts/install @@ -126,7 +126,7 @@ ynh_local_curl "/?PagePrincipale&installAction=install" "config[default_language "config[root_page]=PagePrincipale" "config[mysql_host]=localhost" \ "config[mysql_database]=$app" "config[mysql_user]=$db_user" "config[mysql_password]=$db_pwd" "config[table_prefix]=yeswiki_" \ "admin_name=$admin" "admin_password=$admin_temp_pass" "admin_password_conf=$admin_temp_pass" \ - "admin_email=$admin@$domain" "submit=Continue" "--globoff" + "admin_email=$admin%40$domain" "submit=Continue" # authorization of html ynh_replace_string --match_string="'allow_raw_html' => false," --replace_string="'allow_raw_html' => true," --target_file="$final_path/wakka.config.php"