Datagrid Filter Error When ' (single quote) Included in Search String

I stumbled upon a minor issue in v2.42.8: While typing a search string into a data grid filter I found that the ' character (single quote/apostrophe) produces an odata error:

The query specified in the URI is not valid. There is an unterminated string literal at position 21 in 'contains(Symbol, ''')'.

The actual request is similar to this:


It appears the single quote is properly encoded, but I think odata requires the character to be escaped which I guess can be accomplished by duplicating it within the string like so: