File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -5879,9 +5879,11 @@ did_set_string_option(
58795879
58805880 /* Check for a "normal" directory or file name in some options. Disallow a
58815881 * path separator (slash and/or backslash), wildcards and characters that
5882- * are often illegal in a file name. */
5882+ * are often illegal in a file name. Be more permissive if "secure" is off.
5883+ */
58835884 else if (((options [opt_idx ].flags & P_NFNAME )
5884- && vim_strpbrk (* varp , (char_u * )"/\\*?[|;&<>\r\n" ) != NULL )
5885+ && vim_strpbrk (* varp , (char_u * )(secure
5886+ ? "/\\*?[|;&<>\r\n" : "/\\*?[<>\r\n" )) != NULL )
58855887 || ((options [opt_idx ].flags & P_NDNAME )
58865888 && vim_strpbrk (* varp , (char_u * )"*?[|;&<>\r\n" ) != NULL ))
58875889 {
Original file line number Diff line number Diff line change @@ -764,6 +764,8 @@ static char *(features[]) =
764764
765765static int included_patches [] =
766766{ /* Add new patch number below this line */
767+ /**/
768+ 106 ,
767769/**/
768770 105 ,
769771/**/
You can’t perform that action at this time.
0 commit comments