Skip to content

Fix behaviour of semicolons in query parts #29

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

Merged
merged 1 commit into from
Oct 3, 2017

Conversation

garyb
Copy link
Member

@garyb garyb commented Oct 3, 2017

Resolves #27, resolves #28

We were decoding percent encoded aspects of the query string before doing the splitting on & and ; delimiters, meaning it was impossible to determine where a split actually was, as we lost the information about which characters had been encoded or not.

Also printing was incorrect.

We were decoding percent encoded aspects of the query string before
doing the splitting on `&` and `;` delimiters, meaning it was
impossible to determine where a split actually was, as we lost the
information about which characters had been encoded or not.
@garyb
Copy link
Member Author

garyb commented Oct 3, 2017

@cryogenian can you try this locally to see if it fixes the issues you were having, without the other workarounds you had to impose?

@cryogenian
Copy link
Member

👌

Copy link
Member

@cryogenian cryogenian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Awesome

@garyb garyb merged commit 783df3b into purescript-contrib:master Oct 3, 2017
@garyb garyb deleted the semicolon-in-query branch October 3, 2017 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

printFragmentOrQuery and printing Query part
2 participants