I wanted to tell you that every time I try to modify/edit one of the ledger accounts in my chart of accounts (Accounting > Configuration > Chart of accounts > List of ledger accounts) I get this error:
Access refused to... by SQL or Script injection protection in main.inc.php - GETPOST type=1 paramkey=0 paramvalue=action=update&token=d0469427bb5e5e2ebdf12d4af56b624f&id=8&backtopage=/dolibarr/accountancy/admin/account.php?&contextpage=accountingaccountlist page=/dolibarr/accountancy/admin/card.php?action=update&token=d0469427bb5e5e2ebdf12d4af56b624f&id=8&backtopage=%2Fdolibarr%2Faccountancy%2Fadmin%2Faccount.php%3F%26contextpage%3Daccountingaccountlist
I would like to know how to correct it, since it does not allow me to edit accounts, but I have to delete and redo the account again.
This looks like a bug.
Which version (accurate value x.y.z required) of Dolibarr do you use ?
Can you provide a screenshot of the page before you click on submit ?
Is it possible to have an online access to this page. If yes, you can send private access to me eldy@destailleur.fr so i can diagnose…
I received your access and found the trouble.
This is a bug in the Web Application Firewall that return a false positive.
The fix is to modify in file main.inc.php, the line