Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing incorrect filter causes to infinity loop #49

Open
boris-meerovich-sp opened this issue Aug 6, 2018 · 0 comments
Open

Processing incorrect filter causes to infinity loop #49

boris-meerovich-sp opened this issue Aug 6, 2018 · 0 comments

Comments

@boris-meerovich-sp
Copy link

Hi,
Looks like our QA team found a bug when sending incorrect filter like
"v2/users/?filter=username eq fff@cc.com"
The value quotes are missing and there is a dot(.) into it.

How to reproduce:
Just change row in ExecuteUser method in example console log to the following:
//var json = await client.GetStringAsync("v2/users/" + user.Id);
var json = await client.GetStringAsync("v2/users/?filter=username eq fff@cc.com");

Af far as I debug it, the problem is in Owin.Scim-master\source\Owin.Scim\Querying\ScimFilter.cs in ProcessFilter() method. The loop became infinity loop when parsing the incorrect value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant