Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: jamil_isayyed on April 24, 2013, 05:31:17 AM

Title: Check referer in roundcube 0.9.0
Post by: jamil_isayyed on April 24, 2013, 05:31:17 AM
Hi All,

i have a question about check_referer config, in the new version of roundcube 0.9.0.
i had check_referer in the config main.inc.php  set to true. but i am getting an error in the logs and i can not enter the roundcube unless i have change it to false.

the error is as follow:

[24-Apr-2013 10:34:39] PHP Fatal error:  Call to undefined method rcmail::check_referer() in .../roundcube/index.php on line 239
[24-Apr-2013 10:34:42] PHP Fatal error:  Call to undefined method rcmail::check_referer() in .../roundcube/index.php on line 239

so please advise?

Thanks,
Jamil Isayyed
Title: Re: Check referer in roundcube 0.9.0
Post by: alec on April 24, 2013, 07:29:19 AM
Fixed https://github.com/roundcube/roundcubemail/commit/4571305398832109bae57be87961f68a38bf7d05
Title: Re: Check referer in roundcube 0.9.0
Post by: jamil_isayyed on May 20, 2013, 05:17:59 AM
Thanks alec for this link, and sorry for the late reply. i have fixed this problem today by updating to 0.9.1. but the problem that i am still facing a bug when the user try to open an attachment (PDF attachments) especially when the t check_referer config is enabled.

i get this error:
"
REQUEST CHECK FAILED

Access to this service was denied due to failing security checks!
Please contact your server-administrator.
"

so any idea how i can fix this.

Thanks,
BR,
Jamil Isayyed