Closed zenangst closed 8 years ago
With this PR, Compass can handle regular URL's with both queries and/or fragments.
So when parsing the this example;
compassTests://callback/#access_token=IjvcgrkQk1p7TyJxKa26rzM1wBMFZW6XoHK4t5Gkt1xQLTN8l7ppR0H3EZXpoP0uLAN49oCDqTHsvnEV&token_type=Bearer&expires_in=3600
Route in the callback would end up being callback and all of the fragments would be stored for you in arguments as a key value pair. Same thing would happen if you used a URL with a query instead of fragments.
callback
arguments
@zenangst Awesome.
With this PR, Compass can handle regular URL's with both queries and/or fragments.
So when parsing the this example;
compassTests://callback/#access_token=IjvcgrkQk1p7TyJxKa26rzM1wBMFZW6XoHK4t5Gkt1xQLTN8l7ppR0H3EZXpoP0uLAN49oCDqTHsvnEV&token_type=Bearer&expires_in=3600
Route in the callback would end up being
callback
and all of the fragments would be stored for you inarguments
as a key value pair. Same thing would happen if you used a URL with a query instead of fragments.