31d285813e
we try to remove the trailing double quote for user input such as this one sftpgo.exe serve -c "C:\ProgramData\SFTPGO\" the value for the -c flag is parsed as: C:\ProgramData\SFTPGO" this is what the user specified, but the user want this value: C:\ProgramData\SFTPGO so we try to remove the trailing double quote. Please note that we cannot do anything for something like this: -c "C:\ProgramData\SFTPGO\" -l "sftpgo.log" in this case the -l flag will be ignored and the value for the c flag is: C:\ProgramData\SFTPGO" -l sftpgo.log and so probably it is invalid. This is definitely a bad user input |
||
---|---|---|
.. | ||
initprovider.go | ||
install_windows.go | ||
portable.go | ||
reload_windows.go | ||
root.go | ||
serve.go | ||
service_windows.go | ||
start_windows.go | ||
status_windows.go | ||
stop_windows.go | ||
uninstall_windows.go |