[RCU] Problem with CSRF

Andreas Meyer a.meyer at nimmini.de
Fri Apr 12 16:30:17 CEST 2019

Michael Orlitzky <michael at orlitzky.com> schrieb am 09.04.19 um 08:16:29 Uhr:

> On 4/9/19 5:32 AM, Andreas Meyer wrote:
> > 
> > public function check_request($mode = rcube_utils::INPUT_POST)
> >    {  return true; }
> > 
> > like so and comment out the rest of the function?
> > Must be wrong, get a blank page.
> >   
> You probably have a typo, that's the way to do it.

Finally found out what caused the problems with not being able to logout
and not showing menus anymore in roundcube.

In httpd.conf I had set

Header set X-XSS-Protection "1; mode=block"
Header always set X-Frame-Options "sameorigin"
Header set X-Content-Type-Options nosniff
Header set X-Permitted-Cross-Domain-Policies "none"
#Header always set Referrer-Policy "same-origin"
Header always set Referrer-Policy "no-referrer"

Commenting out Header set X-Content-Type-Options nosniff solved all the problems.

Thank you everybody!


PGP-Fingerprint: D392 5D21 0299 63D7 5BAE 4562 1E56 B2EA 81A2 59F1
-------------- n?chster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 228 bytes
Beschreibung: Digitale Signatur von OpenPGP
URL         : <http://lists.roundcube.net/pipermail/users/attachments/20190412/455c15cf/attachment.sig>

More information about the users mailing list