Problem: Options that are a file name may contain non-filename characters.
Solution: Check for more invalid characters.
* separator (slash and/or backslash), wildcards and characters that are
* often illegal in a file name. */
else if ((options[opt_idx].flags & P_NFNAME)
- && vim_strpbrk(*varp, (char_u *)"/\\*?[|<>") != NULL)
+ && vim_strpbrk(*varp, (char_u *)"/\\*?[|;&<>\r\n") != NULL)
{
errmsg = e_invarg;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 100,
/**/
99,
/**/