[Bug 251372] fetch(1) silently accepts invalid options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 25 10:51:09 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251372

            Bug ID: 251372
           Summary: fetch(1) silently accepts invalid options
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: ltning-freebsd at anduin.net

The fetch(1) command silently accepts certain invalid options given on the
command line.

E.g.
  fetch -no-verify-hostname -o - https://freebsd.org/
is expected to return an error, given the mistyped (-)-no-verify-hostname
option.

Silently ignoring invalid/unknown options is potentially dangerous.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list