easy-tls icon indicating copy to clipboard operation
easy-tls copied to clipboard

Interactive menus call 'easytls' command with quoted parameters that can be empty

Open TinCanTech opened this issue 3 years ago • 1 comments

IP filters are not added with the inter-active method, only metadata - status: closed is added.

TinCanTech avatar Aug 01 '22 16:08 TinCanTech

When interactive calls an inline-* command the parameters are always quoted, even when empty or unset. An empty option causes option parsing to fail at while [ -n $1 ]; do, because the parameters to the inline command could be:

"" "" "add-hw"

where:

  • The first empty "" represents $opt_no_key, which is not commonly used.
  • The second empty "" represents $opt_no_md, which is not commonly used.

TinCanTech avatar Aug 05 '22 20:08 TinCanTech