Skip to content

Update nuspec.xsd to include id regex #6124

Open
@ohadschn

Description

@ohadschn

The schema doesn't seem to impose any restrictions on them (even though XSD regex patterns are possible). The docs only say "IDs may not contain spaces or characters that are not valid for a URL".

But this is incomplete, as the implementation and tests suggest. Specifically, names must conform to ^\w+([_.-]\w+)*$. I don't know what the restrictions on version strings are, but I reckon there are some.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Functionality:PackPriority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Status:Excluded from icebox cleanupStatus:InactiveIcebox issues not updated for a specific long timehelp wantedConsidered good issues for community contributions.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions