Skip to content
This repository was archived by the owner on Jul 30, 2018. It is now read-only.
This repository was archived by the owner on Jul 30, 2018. It is now read-only.

Improve UrlSearchParams handling of booleans #279

Description

@jason0x43

Currently, UrlSearchParams#toString will include key names for parameters with falsey values.

Test: new UrlSearchParams(<Hash<any>>{ debug: false, foo: 'bar' }).toString()

Expected output: 'foo=bar'

Actual output: 'debug&foo=bar'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions