Skip to content

drop '..' from parts other than subpath #228

Description

@armijnhemel

Currently .. is allowed:

>>> import packageurl
>>> packageurl.PackageURL.from_string('pkg:sid/busybox.org/../busybox@1.35.0')
PackageURL(type='sid', namespace='busybox.org/..', name='busybox', version='1.35.0', qualifiers={}, subpath=None)

Is this intended behaviour? I would suggest dropping ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions