On Sun, Nov 19, 2017 at 12:06 AM, Илья Шипицин <chipits...@gmail.com> wrote:

>
>
> 2017-11-18 8:25 GMT+05:00 Selva <selva.n...@gmail.com>:
>
>> Hi,
>>
>> I want to add some form of validation for user input in the GUI so that
>> the user can be alerted when username, password etc. contains characters
>> that may not work.
>>
>> So far the only characters that appear to be problematic are new line
>> ('\n') and embedded '\0'.  As the management interface uses a line based
>> protocol with '\n' as the delimiter, it can't be a part of input strings
>> and breaks quoting.
>>
>> Is there any other character that should be disallowed?
>>
>
> there's something to investigate about "
>
> https://github.com/OpenVPN/openvpn-gui/blob/master/TODO#L3
>

I was also confused by that line in TODO about '"' in password. It seems to
be an
outdated entry and the GUI does correctly handle '"' in passwords. Unless
openvpn
core itself has a problem with embedded quotes..

Selva
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to