diff --git a/ecrire/exec_config_fonctions.php b/ecrire/exec_config_fonctions.php
index 17e1dd6d890f44ece76c69a0d4dcede826306b12..9c5208119e221f7d6157f76e2ae9510da98a32b3 100644
--- a/ecrire/exec_config_fonctions.php
+++ b/ecrire/exec_config_fonctions.php
@@ -231,7 +231,7 @@ function vignettes_config()
 		$block= "'none', 'block'";
 		echo bouton_radio("creer_preview", "non", _T('item_choix_non_generation_miniature'), $creer_preview != "oui", "changeVisible(this.checked, 'config-preview', $block);");
 	
-		echo "<div style='text-align:$spip_lang_right'><INPUT TYPE='submit' NAME='Valider' VALUE='"._T('bouton_valider')."' CLASS='fondo'></div>";
+		echo "<div style='text-align:$spip_lang_right'><INPUT TYPE='submit' VALUE='"._T('bouton_valider')."' CLASS='fondo'></div>";
 		
 		fin_cadre_trait_couleur();
 	}
diff --git a/ecrire/inc_config.php b/ecrire/inc_config.php
index 933a04ab968b97e536bd09ecd7bacaecf52af2dd..47659e771068c0abf5b09a97f79a147de4df1ade 100644
--- a/ecrire/inc_config.php
+++ b/ecrire/inc_config.php
@@ -289,7 +289,7 @@ function appliquer_modifs_config() {
 	if ($modif_secu) {
 		$admin = _T('info_modification_parametres_securite');
 		include_ecrire ("inc_admin");
-		debut_admin(generer_url_post_ecrire($_GET['exec']),$admin); # si ca se trouve ca marche ...
+		debut_admin(generer_url_post_ecrire($_POST['exec'], cache_post()),$admin);
 		reset($liste_meta);
 		while (list(,$i) = each($liste_meta))
 			if (isset($GLOBALS[$i])) ecrire_meta($i, $GLOBALS[$i]);
@@ -304,6 +304,15 @@ function appliquer_modifs_config() {
 	}
 }
 
+// faudrait essayer d'etre plus malin
+
+function cache_post()
+{
+  $res = "";
+  foreach ($_POST as $k => $v) if ($k != 'exec') $res .= "&$k=$v";
+  return substr($res,1);
+}
+    
 
 // Ne pas afficher la partie 'password' du proxy
 function no_password_proxy_url($http_proxy) {