You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll be submitting a pull request that solves this issue in a minute.
The 'Country' class, found in in 'entity.py', inherits its 'get' method from the 'Entity' class.
I was able to solve this issue with seemingly no averse effects by adding in
'id_value = id_value.lower()'
on line 114 of 'entity.py', thereby converting all potentially malicious inputs to be lowercase, as the functionalities of the Country class expect them to be.
Describe the bug
country entity only work with lower-case non-space country name
To Reproduce
Expected behavior
all countries should be found
Screenshots
Systems setup:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: