Skip to content

odata query does not escape single quote  #328

Closed
@whtan98

Description

@whtan98

I'm submitting a Bug report

Your Environment

Software Version(s)
Angular 8
Angular-Slickgrid 2.12.2

Context

Whenever a fitler value eg. lee's is entered, the generated odata query fails to escape single quote with 2 single quotes

Expected Behavior

$count=true&$top=20&$orderby=Name asc&$filter=(contains(Name, 'lee''s'))

Current Behavior

$count=true&$top=20&$orderby=Name asc&$filter=(contains(Name, 'lee's'))

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions