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

fix(core): Strict null query param handling #302

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

offirgolan
Copy link
Collaborator

Description

This helps differentiated between ?foo and ?foo= query params.

Motivation and Context

Resolves #301.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have added tests to cover my changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • My code follows the code style of this project.
  • My commits and the title of this PR follow the Conventional Commits Specification.
  • I have read the contributing guidelines.

This helps differentiated between `?foo` and `?foo=`
@offirgolan offirgolan added bug 🐞 Something isn't working 📦 core labels Jan 29, 2020
@offirgolan offirgolan requested a review from jasonmit January 29, 2020 02:13
@offirgolan
Copy link
Collaborator Author

@jasonmit my only concern here is that this will generate new request ids. Not sure if this warrants being labeled as a breaking change or not.

@jasonmit
Copy link
Contributor

I'd say bugfix. It don't believe it will impact too many, let me know if my assumption is wrong

Copy link

@svanzoest svanzoest left a comment

Choose a reason for hiding this comment

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

great catch!

@zachawilson
Copy link

@offirgolan offirgolan merged commit 5cf70aa into master Jan 29, 2020
@offirgolan offirgolan deleted the strict-null-qp-handling branch January 29, 2020 04:08
@offirgolan
Copy link
Collaborator Author

offirgolan commented Jan 29, 2020

Released with v4.0.2.

@zachawilson
Copy link

Thank you this is working for us now with v4.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working 📦 core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

normalize-request function url is manipulating the url and breaking the request
4 participants