Does the standard variable ${!cmd_var2} have a max length? Or is there any character that cannot be used in a variable? I have a user trying to enter a password that is captured into the variable !cmd_var2 that is dropping the last character. I’m trying to understand why?
There is no max length. So my guess is that it could be a character problem. Can you tell me last character?
But the most likely reason is an encoding issue: Note that characters like " " (“space”) need to be sent URL-encoded in the command line. The reason for this is that command line is technically a URL that opens the local ui.vision.html webpage.
Common characters that need encoding
Some common characters that must be encoded are:
- Unsafe character → Encoded value
- Space →
%20
"
→%22
<
→%3C
>
→%3E
#
→%23
%
→%25
|
→%7C