Skip to content
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 TrimStart in PAX extended attributes #78707

Merged
merged 2 commits into from
Nov 22, 2022

Conversation

carlossanlop
Copy link
Member

Follow-up of #78465

We don't want to trim the keys or the values retrieved from the extended attributes section. We want to preserved them untouched.

@jozkee
Copy link
Member

jozkee commented Nov 22, 2022

Should we mark this as a breaking change?

@stephentoub stephentoub merged commit ed1ed67 into dotnet:main Nov 22, 2022
@carlossanlop carlossanlop deleted the RemoveTrimPaxEa branch November 23, 2022 01:46
@carlossanlop
Copy link
Member Author

Should we mark this as a breaking change?

My gut says no. We're correcting a behavior considered a bug, not changing the way an API is working.

carlossanlop added a commit to carlossanlop/runtime that referenced this pull request Nov 23, 2022
* Remove TrimStart in PAX extended attributes

* Adjust existing tests with two extra inline datas.

Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
carlossanlop added a commit that referenced this pull request Nov 29, 2022
…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 <carlossanlop@users.noreply.github.com>

* 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 <carlossanlop@users.noreply.github.com>

Co-authored-by: Stephen Toub <stoub@microsoft.com>
Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
@ghost ghost locked as resolved and limited conversation to collaborators Dec 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants