Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

I can't pass original value of X-.. header via cherokee reverse proxy #909

Open
Borkason opened this Issue Mar 24, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Member

Borkason commented Mar 24, 2013

Original author: kusmi...@gmail.com (January 04, 2012 14:34:57)

What steps will reproduce the problem?

  1. I setup reverse proxy for transmission
  2. Checked "Preserve Host Header" and "Preserve Server Header"
  3. I tried to open cherokee proxy site

What is the expected output? What do you see instead?
I'd like to see Transmission web interface. Instead I see:

409: Conflict
Your request had an invalid session-id header.
To fix this, follow these steps:
When reading a response, get its X-Transmission-Session-Id header and remember it
Add the updated header to your outgoing requests
When you get this 409 error message, resend your request with the updated header
This requirement has been added to help prevent CSRF attacks.
X-Transmission-Session-Id: XXXXXXXXXXXXXXXX

What version of the product are you using? On what operating system?
cherokee -V
Cherokee Web Server 1.2.101
uname -a
Linux freya 3.0.0-14-generic #​23 (Github: #​98 (Github: #163)​98 (Github: #163))​23 (Github: #​98 (Github: #163)​98 (Github: #163))-Ubuntu SMP Mon Nov 21 20:34:47 UTC 2011 i686 athlon i386 GNU/Linux
Ubuntu 11.10

Please provide any additional information below.
I think there should be option to pass X-... header to the Information Source.

Original issue: http://code.google.com/p/cherokee/issues/detail?id=1326

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment