Skip to content

apidom-reference: FileResolver disabled by default #2154

@char0n

Description

@char0n

We will introduce breaking change and have FileResolver disabled by default as it open’s possibility to do dangerous operations. We will also introduce additional security measure in form of configuration supplied regex that will guard the base resolution context of FileResolver - this will allow processing only certain whitelisted paths. Additional thing that we work on is to allow possibility to ignore certain URL schemas and not process them at all (instead of ApiDOM throwing error, the unrecognized schemas will be ignored).

TODO:

  • introduce mechanism to ignore certain URL schemas from processing
  • introduce regex whitelist for FileResolver
  • disable FileResolver by default

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions