msgraph-sdk-ruby icon indicating copy to clipboard operation
msgraph-sdk-ruby copied to clipboard

`#filter` creates invalid queries; does not escape invalid characters

Open KevinColemanInc opened this issue 5 years ago • 0 comments

graph.me.mail_folders.find(INBOX_NAME)
                     .messages
                     .filter(subject: "hello'")

If you search of an email with a subject containing a ', then it creates a query like subject eq 'hello''

KevinColemanInc avatar Aug 26 '19 16:08 KevinColemanInc