What steps will reproduce the problem?
1.install on foo.tld behind a reverse proxy of foo.com
2.go to examples
3.use 3 legged example
What is the expected output? What do you see instead?
expected: callbackUrl is foo.com
instead : callbackUrl is foo.tld
What version of the product are you using? On what operating system?
1.0.0 on GNU/Linux
Please provide any additional information below.
Use the X-Forwarded-For information to build $callbackUrl at
opensocial-php-client/osapi/auth/osapiOAuth3Legged.php
In order to avoid security problems the X-Forwarded-For field should be
intepreted only if the request comes from a pre-defined list of known
reverse proxy.
Original issue reported on code.google.com by loic-goo...@dachary.org on 3 Jul 2009 at 7:13
Original issue reported on code.google.com by
loic-goo...@dachary.org
on 3 Jul 2009 at 7:13