Hi,
Thanks for the credentials.
I have update the "config | config" view in order to change the "enctype" of the form.
Without "enctype", the form use the default value : "application/x-www-form-urlencoded"
<form action="index.php?option=<?php echo HIKASHOP_COMPONENT ?>&ctrl=config" method="post" name="adminForm" id="adminForm">
But this enctype does not allow file upload so I have put a little javascript at the bottom of the page in order to have some "retrocompatibility".
<input type="checkbox" id="hikaform_chk" onchange="hikaform_set(this)"/><label for="hikaform_chk">Set multipart enctype (default value, for file upload compatibility)</label>
<script type="text/javascript">
function hikaform_set(el) {
var d = document, f = d.getElementById('adminForm');
if(f) {
if(el.checked) {
f.enctype = "multipart/form-data";
} else {
f.enctype = "";
}
}
}
</script>
By default the checkbox is unchecked and you can now save your configuration without having a "mod_security forbidden".
Regards,