Commit 7cd8b7c2 authored by Levin Zimmermann's avatar Levin Zimmermann

Escape comma in optionstring

(Kirill denoted that it was 15y ago when the comma-escape patch was
introduced, see https://github.com/libfuse/libfuse/commit/5c094ac0150e)
parent daaa0cfa
......@@ -187,7 +187,7 @@ func NewServer(fs RawFileSystem, mountPoint string, opts *MountOptions) (*Server
for _, s := range o.optionsStrings() {
if strings.Contains(s, ",") {
return nil, fmt.Errorf("found ',' in option string %q", s)
escapeComma(s)
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment