esp_http_client does not handle URL with space (IDFGH-9170) #10566
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v4.3.4-332-g56ee43ec5e
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-WROOM-32E
Power Supply used.
USB
What is the expected behavior?
esp_http_client should either provide API to do urlencode or handle it internally.
What is the actual behavior?
If the URL has space, it shows error:
e.g.
E (5419) HTTP_CLIENT: Error parse url http://192.168.0.104/test space/test
E (5426) HTTP_CLIENT: Failed to set URL
Steps to reproduce.
You can test using esp_http_client_example, just need to modify the URL setting to include space.
Debug Logs.
No response
More Information.
No response
The text was updated successfully, but these errors were encountered: