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

Empty Http query params not empty #436

Closed
christophd opened this Issue Jul 19, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@christophd
Member

christophd commented Jul 19, 2018

Citrus Version

v2.7.x

Expected behavior

Empty Http query param string should result in an empty query param map on HttpMessage object.

Actual behavior

Http query params map is not empty but contains an entry with key="" and value=""

Test case sample

HttpMessage message = new HttpMessage();
message.queryParams("");
Assert.assertEquals(message.getQueryParams().size(), 0L);

@christophd christophd added this to the v2.7.7 milestone Jul 19, 2018

@christophd christophd self-assigned this Jul 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment