Add kong.NoDefaultHelp() option

Review Request #2420 — Created April 4, 2023 and submitted

aklitzing@gmail.com
grim/hgkeeper
default
grim

Otherwise an authenticated user can send "hg -h" as command. Since
kong calls Exit() by default for their help this could lead to a DoS attack.



Summary Author
Add kong.NoDefaultHelp() option
Andre Klitzing
aklitzing@gmail.com
grim
  1. Ship It!
  2. Great find! Thanks!!

  3. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...