-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove invalidation of whitespace in TryGetNextExtendedAttribute #78465
Conversation
Tagging subscribers to this area: @dotnet/area-system-io |
...ibraries/System.Formats.Tar/tests/TarReader/TarReader.File.GlobalExtendedAttributes.Tests.cs
Show resolved
Hide resolved
...ibraries/System.Formats.Tar/tests/TarReader/TarReader.File.GlobalExtendedAttributes.Tests.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the extra test request, LGTM.
I've added the test @carlossanlop requested. I have not changed the existing starting whitespace trimming behavior. @carlossanlop, can you please follow-up on that if it should be revisited? Also, should we be looking at backporting this to release/7.0? |
It's not explicitly mentioned in the spec, so I agree that we should remove the trim call, especially since Yes, we can backport it all together, especially if we include the removal of the trim call. |
…net#78465) * Remove invalidation of whitespace in TryGetNextExtendedAttribute * Add requested test
…attributes (#78785) * Remove invalidation of whitespace in TryGetNextExtendedAttribute (#78465) * Remove invalidation of whitespace in TryGetNextExtendedAttribute * Add requested test * Remove TrimStart in PAX extended attributes (#78707) * Remove TrimStart in PAX extended attributes * Adjust existing tests with two extra inline datas. Co-authored-by: carlossanlop <[email protected]> * Tar: Extra tests to confirm extra long paths are not treated as duplicate entries when the full path is in the extended attributes. (#78744) Co-authored-by: carlossanlop <[email protected]> Co-authored-by: Stephen Toub <[email protected]> Co-authored-by: carlossanlop <[email protected]>
#78456