parseOpts now does some preliminary path screening to prevent
command sequences like
`ipfs <hash> cat`
from succeeding. The tests affected by this have been slightly altered,
but should be restored once parseOpts is decoupled from path analysis.
Command suggestion printing has also been factored into a single
function.
Fixes: #2501
License: MIT
Signed-off-by:
Thomas Gardner <tmg@fastmail.com>
| 名称 |
最后提交
|
最后更新 |
|---|---|---|
| .. | ||
| cli | 正在载入提交数据... | |
| files | 正在载入提交数据... | |
| http | 正在载入提交数据... | |
| argument.go | 正在载入提交数据... | |
| channelmarshaler.go | 正在载入提交数据... | |
| command.go | 正在载入提交数据... | |
| command_test.go | 正在载入提交数据... | |
| option.go | 正在载入提交数据... | |
| option_test.go | 正在载入提交数据... | |
| reqlog.go | 正在载入提交数据... | |
| request.go | 正在载入提交数据... | |
| response.go | 正在载入提交数据... | |
| response_test.go | 正在载入提交数据... |