[CB-1494] weinre - Supports running server behind a proxy, such as Heroku Cedar
authorPatrick Mueller <pmuellr@apache.org>
Fri, 30 Nov 2012 18:38:02 +0000 (13:38 -0500)
committerPatrick Mueller <pmuellr@apache.org>
Fri, 30 Nov 2012 18:38:02 +0000 (13:38 -0500)
commit19454cfe2cd3c4515f7fb615f35fa2c7b2565401
tree7d0ed9b86f83d21726b94ad0439347a30463450e
parentde980f8b0de7c6472576aef1e4ab0b07d54534f7
[CB-1494] weinre - Supports running server behind a proxy, such as Heroku Cedar

https://issues.apache.org/jira/browse/CB-1494

Easiest thing to do is just neuter the remote address check in
the getChannel() function in the weinre.server/lib/channelManager.coffee
source file.

All this provided before was a simplistic check to make sure the
requests always were coming from the same remote address; for
someone who wanted to cheat, there were ways of cheating, and so
still are.  For everyone else, you can now run under proxy servers
transparently.
weinre.doc/ChangeLog.body.html
weinre.server/lib/channelManager.coffee