as a control char.
Version 2.1.13.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7581
e7ae566f-a301-0410-adde-
c780ea21d3b5
return true;
if ((flags & CC_DIGIT) && isdigit (c))
return true;
- if ((flags & CC_PRINT) && (c >= 32)) /* allow ascii non-control and UTF-8 */
+ if ((flags & CC_PRINT) && (c >= 32 && c != 127)) /* allow ascii non-control and UTF-8, consider DEL to be a control */
return true;
if ((flags & CC_PUNCT) && ispunct (c))
return true;