Just found out that installation process fails when I disable HTTP referer URL. This is because of CSRF protection in lib/base.php which checks for the referer in HTTP headers.

Would it be possible to do CSRF protection without requiring the browser to send the referer header?? I'm not familiar with CSRF, but I remember having seen something like CSRF protection tokens in HTTP headers on other sites/web apps, which we don't have in ownCloud (do we?). Maybe that's a way to go...

Florian

Am 13.06.2012 23:01, schrieb Thomas Tanghus:
On Wednesday 13 June 2012 22:40 Frank Karlitschek wrote:
Very cool!!

do you think it´s possible to backport it to stable4?

It's probably easiest to copy/paste it ;-) I'll have a look at it tomorrow.


--
Florian Hülsmann
<[email protected]>
http://cbix.de


_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud

Reply via email to