Skip to content

[Bug][DataQuery] ToOdataString does not encode field-key values #3025

@PaskalevStoyan

Description

@PaskalevStoyan

Description

When having a State and passing it by toOdataString the field value is not encoded (e.g having a space In the field value does not encode the space).

Steps To Reproduce

  1. Go to this stackblitz demo
  2. Observe the toOdataString Query - the values of the State are with a space, which is encoded with %20, but the field values are not
  3. Observe the Encoded URI Query - The values of the field properties are now encoded but the values are doubly encoded having %2520.

Screenshots or video

No response

Actual Behavior

having a State and passing it by toOdataString the field value is not encoded (e.g having a space In the field value does not encode the space).

Expected Behavior

The field-key values should be encoded as the value-key values.

Ticket ID: 1682654

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugItem which indicates that something is not workingC: DataQueryKendoReact

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions