Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
ec8637f3
Commit
ec8637f3
authored
Jan 09, 2008
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't allow a slash to be specified in a module name.
Document the module-name limitations in rsyncd.conf.yo.
parent
62a6b8df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
loadparm.c
loadparm.c
+5
-0
rsyncd.conf.yo
rsyncd.conf.yo
+4
-0
No files found.
loadparm.c
View file @
ec8637f3
...
...
@@ -784,6 +784,11 @@ static BOOL do_section(char *sectionname)
return
(
True
);
}
if
(
strchr
(
sectionname
,
'/'
)
!=
NULL
)
{
rprintf
(
FLOG
,
"Warning: invalid section name in configuration file: %s
\n
"
,
sectionname
);
return
False
;
}
/* if we have a current service, tidy it up before moving on */
bRetval
=
True
;
...
...
rsyncd.conf.yo
View file @
ec8637f3
...
...
@@ -113,6 +113,10 @@ After the global options you should define a number of modules, each
module exports a directory tree as a symbolic name. Modules are
exported by specifying a module name in square brackets [module]
followed by the options for that module.
The module name cannot contain a slash or a closing square bracket. If the
name contains whitespace, each internal sequence of whitespace will be
changed into a single space, while leading or trailing whitespace will be
discarded.
startdit()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment