Skip to content

ngclient: implement glob-like pattern matching #1505

@sechkova

Description

@sechkova

Description of issue or feature request:

According to the recently updated version of the specification the shell style wildcard matching is glob-like, and therefore a path separator in a path should not be matched by a wildcard in the PATHPATTERN.

Current behavior:
A path separator in a path is matched by a wildcard in the PATHPATTERN (fnmatch.fnmatch)

Expected behavior:
A path separator in a path should not be matched by a wildcard in the PATHPATTERN.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions