Skip to content

Is it possible to use custom separtator for query string multi values? #156

Open
@gansbrest

Description

@gansbrest

In the documentation it says:

.addSearch({ foo: ["bar", "baz"] })
    // -> ?foo=bar&foo=baz ( duplicate foo twice in the qstring )

But I need to produce this:

    // -> ?foo=bar;baz - ";" as separator for multivalues

That way I could shorten my urls a bit for pages with lots of options ( ecommerce faceting ) since browsers like IE impose limit to the length of URI..

Same goes for parsing strings with multi values defined with custom separator.

Hope you got the idea.

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