#1485976 closed Bugs (fixed)
Bug in svn2755
| Reported by: | lacri | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-stable |
| Component: | Core functionality | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: |
Description
in the changeset 2755 (Use request tokens to protect POST requests from CSFR) are some bugs.
Identities can not be saved the error is operation not permittet.
and the error log says
Missing argument 2 for rcube_template::request_form(), called in /var/www/roundcube/program/steps/settings/func.inc
and i found an other bug in relation to this in /steps/settings/func.inc
the var $hidden does not exists the name is $add_hidden
if (is_array($hidden)) {
$hiddenfields = new html_hiddenfield($hidden);
$form_start .= $hiddenfields->show();
}
Change History (4)
comment:1 Changed 4 years ago by Lazlo
- Milestone changed from later to 0.3-stable
comment:2 Changed 4 years ago by jensmartin
comment:3 Changed 4 years ago by thomasb
- Resolution set to fixed
- Status changed from new to closed
Warnings fixed in [7477973d].
I don't see the problem your describing in /steps/settings/func.inc
The argument name is $hidden and not $add_hidden:
/browser/trunk/roundcubemail/program/steps/settings/func.inc#L433
comment:4 Changed 4 years ago by thomasb
Correct link from previous comment is trunk/roundcubemail/program/steps/settings/func.inc#L433

This changeset is also causing problems for plugins.
For instance does the password plugin not work after this change.
The following error gets logged when clicking the settings icon: