faaez / capiq-python

Thin Python client for the CapIQ REST API
MIT License
35 stars 25 forks source link

fixed bug with return key matching when pluses are used in the properties #7

Closed guydmann closed 6 years ago

guydmann commented 7 years ago

When a plus is used in the properties it was causing issues with the return key lookup because the results are being parse which is converting the + in the property to a space in the property. This was causing return keys to be unmatchable when a plus was in the properties value.

faaez commented 7 years ago

Thanks, @guydmann . Understood that '+' is being parsed to space, but are you sure that that is the only character that maps to a space? Otherwise the reverse mapping wouldn't work in all cases.

guydmann commented 7 years ago

I don't know of any other characters that would map to a space but I will think about it and see if I can come up with a more robust fix or a better answer.