Skip to content

Feature parsing regular URL's#14

Merged
vadymmarkov merged 2 commits intodevelopfrom
feature/parsing-regular-urls
Dec 15, 2015
Merged

Feature parsing regular URL's#14
vadymmarkov merged 2 commits intodevelopfrom
feature/parsing-regular-urls

Conversation

@zenangst
Copy link
Copy Markdown
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
Copy Markdown
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