Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature parsing regular URL's #14

Merged
merged 2 commits into from
Dec 15, 2015
Merged

Conversation

zenangst
Copy link
Contributor

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.

vadymmarkov added a commit that referenced this pull request Dec 15, 2015
@vadymmarkov vadymmarkov merged commit d615232 into develop Dec 15, 2015
@vadymmarkov vadymmarkov deleted the feature/parsing-regular-urls branch December 15, 2015 08:24
@vadymmarkov
Copy link
Contributor

@zenangst Awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants