From: Oliver Kurth Date: Tue, 19 Jun 2018 18:07:44 +0000 (-0700) Subject: Hgfs Win Client: fix bad illegal character escaping; not applicable to open-vm-tools. X-Git-Tag: stable-10.3.0~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8086ead225faf3a051952773c0b98b2c751b1e84;p=thirdparty%2Fopen-vm-tools.git Hgfs Win Client: fix bad illegal character escaping; not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/hgfs/hgfsEscape.c b/open-vm-tools/lib/hgfs/hgfsEscape.c index 559b146ec..5166d799c 100644 --- a/open-vm-tools/lib/hgfs/hgfsEscape.c +++ b/open-vm-tools/lib/hgfs/hgfsEscape.c @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2008-2016 VMware, Inc. All rights reserved. + * Copyright (C) 2008-2018 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -67,7 +67,7 @@ /* These characters are illegal in Windows file names. */ const char* HGFS_ILLEGAL_CHARS = "/\\*?:\"<>|"; -const char* HGFS_SUBSTITUTE_CHARS = "!@#$^&(){}"; +const char* HGFS_SUBSTITUTE_CHARS = "!@#$^&(){"; /* Last character of a file name in Windows can be neither dot nor space. */ const char* HGFS_ILLEGAL_LAST_CHARS = ". ";