GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(api): reject unknown JSON fields in request bodies · Issue #406 · haproxytech/dataplaneapi Open DescriptionHello! This made it possible for users or automation pipelines to believe that a submitted configuration parameter was applied, while the field was actually ignored during decoding. Add a strict pre-decode validation step in the JSON consumer. The request body is first decoded into a generic JSON structure and checked against the target Go model using reflection. If an unknown field is found, the API now returns a parsing error instead of silently dropping the field. The check supports nested structs, embedded model structs, maps such as backend servers, and arrays. Plain text raw configuration endpoints are excluded from this validation. This helps GitOps/CI pipelines fail early when a request contains misspelled or unsupported configuration parameters. Please confirm your decision and add this functionality to the build. #405 Problem details. When requesting new edits, there will be no errors with such a request: curl -i -u "$DP_USER:$DP_PASS" And in case of using pull req #405 : Thanks. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |