Closed fcaza closed 4 years ago
Looks like a real issue.
E.g. if you have a city name with a space in it, space is translated into %2520
instead of %20
I'm working on ... i'll be solved in the v5.0.0 coming soon !!
The string is encoded twice. That's why ` encoded to
%20and encoded again to
%2520`
I created a PR to fix this.
City,CountryCode is now broken try: weather.setCity('Roma,IT');
Actually, it didn't worked as well in 4.0.0 It's because of encodeURIComponent in setCity?