New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation or implementation error: httpd_req_get_url_query_str (IDFGH-1052) #3374
Comments
github-actions
bot
changed the title
documentation or implementation error: httpd_req_get_url_query_str
documentation or implementation error: httpd_req_get_url_query_str (IDFGH-1052)
Apr 27, 2019
@dannybackx Thanks for pointing out. It should read
or
|
trombik
pushed a commit
to trombik/esp-idf
that referenced
this issue
Aug 9, 2019
…) API documentation Closes espressif#3374
loganfin
pushed a commit
to Lumenaries/esp_http_server
that referenced
this issue
Apr 23, 2024
…) API documentation Closes espressif/esp-idf#3374
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Problem Description
The documentation on httpd_req_get_url_query_str specifies how to deal with the buffer and buflen. Spefically :
This is misleading. For meaningful results, you should not use the return value of httpd_req_get_url_query_len() but one more (to accomodate for the 0 terminator of the string).
The documentation should include such a remark. Note that the examples do take this into account, in a slightly strange way.
The text was updated successfully, but these errors were encountered: