Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D DNS-Compliance-Testing
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • DNS-Compliance-Testing
  • Issues
  • #24
Closed
Open
Created Jan 10, 2019 by Ghost User@ghost

Invalid JSON produced under certain options

In several cases, but for example with -j (json output) -E (EDNS only) the output is an invalid JSON document. The problem lies in the array of tests and the splitting of its values. Looking at the text output its error is tests:

{ , dns:ok edns:ok ....

So because its limited tests it leaves a first , in the tests output. Removing this single character fixes the broken JSON. please restructure the building of the JSON output and validate the JSON when outputting to prevent these errors

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking