mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3769] [Feature Request] Disallow unknown keys in verify #2998
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2998
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @akx on GitHub (Nov 14, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3769
Describe the feature request
Related to #3757 (validating the configuration against a strict schema).
frpc verifydoesn't validate the presence of extraneous/unknown keys in the document given, so typos are easily uncaught. Can you spot at least 4 in the document below? 😁Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Nov 15, 2023):
I think it is ok to add a
--strict-modeoption to enable this feature, with schema validation disabled by default.