summaryrefslogtreecommitdiffstats
path: root/source3/smbd/mangle.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-12 03:48:47 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-12 03:48:47 +0000
commitb6dd030b45e9dfadb9856a04c256228e7862fdda (patch)
tree7384136cbf1915c03377af2f40fb769b829f3dea /source3/smbd/mangle.c
parent13ff49eedc69e6537ec0c2fde04bf4ff03f78928 (diff)
downloadsamba-b6dd030b45e9dfadb9856a04c256228e7862fdda.tar.gz
samba-b6dd030b45e9dfadb9856a04c256228e7862fdda.tar.xz
samba-b6dd030b45e9dfadb9856a04c256228e7862fdda.zip
remove { and } from the list of illegal characters in filenames. The
CIFS3 spec does not list them as illegal. This allows things like the control panel icon to be placed on a Samba drive. (This used to be commit d2ac9e6fb6e76778154c58217237251d7bb0e98c)
Diffstat (limited to 'source3/smbd/mangle.c')
-rw-r--r--source3/smbd/mangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index b0a45ffb47..829e307a85 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -613,7 +613,7 @@ static BOOL illegal_name(char *name)
if (!initialised)
{
- char *ill = "*\\/?<>|\":{}";
+ char *ill = "*\\/?<>|\":";
initialised = True;
bzero((char *)illegal,256);