Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2020 10:51:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251372] fetch(1) silently accepts invalid options
Message-ID:  <bug-251372-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251372

            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@FreeBSD.org
          Reporter: ltning-freebsd@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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251372-227>