pownraj-anubavam / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

add exit() to apiOAuth2.php #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. call $client->authenticate()
2. output message to screen
3. redirect is not followed

What is the expected output? What do you see instead?
Redirect to the authUrl

Please provide any additional information below.
On line 110 of apiOAuth2.php, a header redirect is initiated. If not followed 
by exit() or die(), this redirect could be ignored.

Original issue reported on code.google.com by bryan.yo...@ientryinc.com on 12 Jun 2012 at 5:32

GoogleCodeExporter commented 9 years ago
Thanks for the suggestion.

Original comment by ianbar...@google.com on 22 Mar 2013 at 2:15