This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi Everyone,
I've developed a web interface for my CC3220SF chip, and I'm encountering an issue when submitting form data. The JavaScript function encodeURIComponent()
is used to encode fields like user ID and password. However, when special characters (e.g., &
and #
) are part of the password, they are encoded as %26
and %23
, respectively, and this causes issues in processing the data.
My question is:
Thank you for your help!
Hi,
When directly using the API, password and SSID are taken as-is so you should not have any issue.
However, when working via the HTTP server, there might be extra processing of data and some conversions are done.
In order to send % for example, you should use the "%25" (i.e. % following the ascii hex value of '%').
for example: instead of "abc%def", you will need to send "abc%25def".
Hi,
"abc%def" = "abc%25def"
encodeURIComponent() is already doing that for me
At this momenet, i can use all special character as password exccept + and %. This two character does not work.
i have seen this previous answer from TI regarding character + and %.
https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1100894/cc3220sf-wi-fi-password-character-set
is this still relevant?