Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

403 trying to change goal and statement #245

Closed
chadwhitacre opened this issue Aug 21, 2012 · 5 comments
Closed

403 trying to change goal and statement #245

chadwhitacre opened this issue Aug 21, 2012 · 5 comments

Comments

@chadwhitacre
Copy link
Contributor

Report in IRC:

Getting 403 "Forbidden Programm" while changing goal and statement.

I can't repro on gittip.com.

@chadwhitacre
Copy link
Contributor Author

@mbj What browser are you using?

@mbj
Copy link

mbj commented Aug 22, 2012

Isnt that obvious from the request headers?

mbj@mbj ~ % chromium --version
Chromium 21.0.1180.81

Sorry for not beeing in chan this day. Lots of commercial stuff today :P

On Wed, Aug 22, 2012 at 11:40:09AM -0700, Chad Whitacre wrote:

@mbj What browser are you using?


Reply to this email directly or view it on GitHub:
https://github.com/whit537/www.gittip.com/issues/245#issuecomment-7944594

@mbj
Copy link

mbj commented Aug 23, 2012

My email reply got cut.

Im using chromium:

mbj@mbj ~ % chromium --version
Chromium 21.0.1180.81 

@chadwhitacre
Copy link
Contributor Author

Isn't that obvious from the request headers?

Yes, sorry. That was me trying to buy time by asking a stupid question. 😊

The 403 is coming from the CSRF machinery (see #88 for background; it's borrowed from Django). I checked the logs, and you're running afoul of strict Referer checking. The headers you sent in private gist are missing Referer. Have you turned off Referer intentionally?

@chadwhitacre
Copy link
Contributor Author

Yes, lack of Referer header was the issue. Closing this and reticketing whether Referer checking is something we need in Gittip: #276.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants