Merge pull request #2179 from remakeelectric/mos-path-vs-file

luci-app-mosquitto: validate paths as path, not file
This commit is contained in:
Jo-Philipp Wich 2018-09-24 18:08:46 +02:00 committed by GitHub
commit b6306b1f49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -104,7 +104,7 @@ o.optional = true
o.datatype = "file"
o = s:option(Value, "capath", "CA path to search")
o.optional = true
o.datatype = "file"
o.datatype = "directory"
o = s:option(Value, "certfile", "server certificate file (PEM encoded)")
o.optional = true
o.datatype = "file"
@ -218,7 +218,7 @@ o.optional = true
o.datatype = "file"
o = s:option(Value, "capath", "Directory to search for CA files")
o.optional = true
o.datatype = "file"
o.datatype = "directory"
o = s:option(Value, "certfile", "Path to PEM encoded server certificate file")
o.optional = true
o.datatype = "file"