Closed mohankumaru closed 3 years ago
You're right! I missed that. Looks like we can change that here: https://github.com/15five/scim2-filter-parser/blob/master/src/scim2_filter_parser/lexer.py#L203
Do you want to issue the PR with tests? If not I should be able to get to it in the next week or so.
Sure, I will issue PR in a day or two, thank you.
Hey @logston , can you please make this change available soon.
Should be available at https://pypi.org/project/scim2-filter-parser/0.3.9/ now. Thanks for the ping.
Hi @logston , There are some attributes in RFC 7643, for example "manager.$ref", "groups.$ref", which uses "$". The section 2.1 in RFC (https://datatracker.ietf.org/doc/html/rfc7643#section-2.1) speaks about the grammar for attribute name.
When we parse such attributes, lexer will throw "Illegal character in filter query" value error. Is it possible to handle these attribute naming's?
Using the following filter will reproduce the issue.
Regards, Mohan