Skip to content

Inconsistent encoding and decoding of string array params #867

Closed
ui-router/core
#703
@danhooper

Description

@danhooper

When a parameter is defined as an array and a string depending on the number of items in the array the strings within the list may be encoded or may not be.

See https://stackblitz.com/edit/uirouter-angular-string-array for a stackblitz that replicates the issue.

I think all of the string parameters should be URL encoded/decoded.

When there is a single item the items are URL encoded/decoded properly. When there is more than one item, none are URL encoded/decoded.

This may be a similar issue as ui-router/core#534 and #340

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions