Conversation
Update rules in README
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…tions/checkout-6 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…tions/checkout-7 Bump actions/checkout from 6 to 7
Move the library, demo, and tests to .NET 10 only, replacing the legacy .sln with a .slnx solution and removing net48-specific test branches. The workflow is simplified to a single Ubuntu build that publishes release artifacts for the NuGet push jobs, and test dependencies are updated to current versions.
Introduce a new `preserveFileNameExtension` parameter (defaulting to `true`) on `Sanitize` and `SanitizeFilename` overloads so long filenames can be truncated while keeping their extension. Update truncation logic to split name/extension and enforce the 255-byte limit on the combined result. Also simplify several legacy `#if NETSTANDARD2_0` branches and add coverage for long-name truncation behavior with and without extension preservation.
Replaces the `preserveFileNameExtension` boolean parameter with a `FilenameExtensionHandling` enum, adding a third option to throw when the extension is too long to fit within the 255-byte limit. Updates all call sites and tests accordingly.
Preserve file extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.