# HG changeset patch # User Christian Brabandt # Date 1480454103 -3600 # Node ID bc97f64c21c2f463b20b9d91330a36b361ba48f2 # Parent 45fa8b5f8b5bb6c5656a766e22398f302026b4ec commit https://github.com/vim/vim/commit/0945eaface83e78138fbd40f95cc590bab0e8c86 Author: Bram Moolenaar Date: Tue Nov 29 22:10:48 2016 +0100 patch 8.0.0106 Problem: Cannot use a semicolon in 'backupext'. (Jeff) Solution: Allow for a few more characters when "secure" isn't set. diff --git a/src/option.c b/src/option.c --- a/src/option.c +++ b/src/option.c @@ -5879,9 +5879,11 @@ did_set_string_option( /* Check for a "normal" directory or file name in some options. Disallow a * path separator (slash and/or backslash), wildcards and characters that - * are often illegal in a file name. */ + * are often illegal in a file name. Be more permissive if "secure" is off. + */ else if (((options[opt_idx].flags & P_NFNAME) - && vim_strpbrk(*varp, (char_u *)"/\\*?[|;&<>\r\n") != NULL) + && vim_strpbrk(*varp, (char_u *)(secure + ? "/\\*?[|;&<>\r\n" : "/\\*?[<>\r\n")) != NULL) || ((options[opt_idx].flags & P_NDNAME) && vim_strpbrk(*varp, (char_u *)"*?[|;&<>\r\n") != NULL)) { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 106, +/**/ 105, /**/ 104,