Skip to content

Validate package ID in nuspec - #7844

Merged
jeffkl merged 2 commits into
devfrom
dev-jeffkl-validate-package-id
Nov 3, 2026
Merged

jeffkl merged 2 commits into
devfrom
dev-jeffkl-validate-package-id

Conversation

@jeffkl

@jeffkl jeffkl commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Bug

Fixes:

Description

NuGet now has a more restricted set of allowed characters in the package ID so using 1st party tooling should lead to package IDs in a nuspec only containing allowed characters. However, users can technically create these files manually so NuGet should validate the value as user input.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

@jeffkl jeffkl self-assigned this Nov 2, 2026
@jeffkl
jeffkl requested a review from a team as a code owner November 2, 2026 17:30
@jeffkl
jeffkl merged commit a232454 into dev Nov 3, 2026
18 of 21 checks passed
@jeffkl
jeffkl deleted the dev-jeffkl-validate-package-id branch November 3, 2026 16:07
@zivkan zivkan mentioned this pull request Nov 12, 2026
1 of 3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants