Skip to content
This repository was archived by the owner on Aug 8, 2021. It is now read-only.
This repository was archived by the owner on Aug 8, 2021. It is now read-only.

Special Directive behaviour (Parser) #1

Description

@janis-me

There are multiple directives that need special treatment due to their behaviour.

  • The header directive can be used multiple times or can take multiple directives
  • The mime directive can be used multiple times or can take multiple directives
  • The redir directive can be used multiple times or can take multiple directives + has conditions which are not supported
  • The rewrite directive supports rules
  • several directives have type boolean, the string value is fetched as true/false atm. Default and fallback is false
    • a "type" attribute should be added to the draggable list json
  • The TLS directive has a number of different options and options for the Cert/Key variant

These directives are either limited in their functionality or do not work as intended at all.
To fix them, the parser needs to implement edge-cases for these directives.

Metadata

Metadata

Assignees

Labels

ParserIssues that have to do with parsing JSON to CaddyfilebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions