Java proxy uses it's own Host: for the host header instead of the remote host
-----------------------------------------------------------------------------
Key: SHINDIG-149
URL: https://issues.apache.org/jira/browse/SHINDIG-149
Project: Shindig
Issue Type: Bug
Components: Gadgets Server - Java
Reporter: Paul Lindner
The following request:
http://11423068301.o.hi5modules.com/gadgets/proxy?url=http://fishgadget.googlecode.com/svn/trunk/swfobject.js
Results in an incorrect set of headers sent to the remote host:
172.016.185.001.18127-066.102.001.082.00080: GET /svn/trunk/swfobject.js
HTTP/1.1
cookie: __utma=170362720.1334816416.1206391328.1206391328.1206391328.1;
__utmc=170362720;
__utmz=170362720.1206391328.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)cache-control:
max-age=0
connection: keep-alive
host: 11423068301.o.hi5modules.com
accept-language: en-us,en;q=0.5
accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
user-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9b5pre)
Gecko/2008032204 Minefield/3.0b5pre
keep-alive: 300
accept-encoding: gzip,deflate
x-cluster-client-ip: 71.5.1.212
accept-charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
The Host header should be fishgadget.googlecode.com, not
11423068301.o.hi5modules.com
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.