-
Notifications
You must be signed in to change notification settings - Fork 207
Weather command not parsing location names with spaces #503
base: dev
Are you sure you want to change the base?
Weather command not parsing location names with spaces #503
Conversation
The regex still won't work for town names containing characters that are not A-Z, for instance:
You might also need to |
You might also want to target the |
@Frederikam I feel like migration to kotlin for this change can be on a separate pr. I created this pr intended to fix the issue with spaces in the query |
I don't think openweather support searching 東京 |
Perhaps not, but query parameters needs to be URL encoded. I don't know if the URL builder handles that |
Is it just me or does this look like a good case for a unit test? |
The API does not seem to support 東京 or Clermond-Ferrand, but the others work when using curl |
The latest commit supports the other ones except those two. Do you want me to add tests to it? or proceed with integrating with kotlin/sentinel branch? |
If I were you I would migrate to sentinel. I have developed an API to run integration tests on commands that you can use |
Fixing issue reported by user, #495