GET parameters and disallowed characters (Google API) |
[eluser]dsloan[/eluser]
I'm trying to interface with Google Calendars using the Google API and am encountering a problem with the response that is returned from Google. As part of the initial authorisation process a call is made to the Google API which displays a remote page asking for access approval, and then redirects the user back to the original URL but with a security token appended to the URL (as a GET parameter). However CI throws an error saying that "The URI you submitted has disallowed characters". For example, if the original URI is http://www.kpoint.co.uk/index.php/diary then after the Google access request page the browser is redirected to http://www.kpoint.co.uk/index.php?token=123456 Any ideas on how to get around this? Thanks, Diarmid Sloan
[eluser]dsloan[/eluser]
More information on the Google Calendar API call are at : http://code.google.com/apis/calendar/dev....html#Auth
[eluser]dsloan[/eluser]
Got this sorted - the API call has stripped the controller name off the requesting script name and is appending the token to the index.php filename itself. |
Welcome Guest, Not a member yet? Register Sign In |