Skip to content

Separation of validation and normalization logic #187

Description

@dwalluck

Right now, the various validation methods might actually normalize the components on input, too.

Should the various component methods, e.g., getName(), getVersion(), etc., return the valid but not normalized component?

It seemed to be intended that normalization only occur before returning a string (toString())?

Add a separate public PackageURL::normalize (PackageURL::canonicalize returns a String)?

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