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

Pivotal ID # 185649200: Cater For Paths Ending With Backslash #737

Merged

Conversation

jhoanmanuelms
Copy link
Contributor

  • Create a common operation to get the file path since all of them should share the same logic
  • Remove any trailing slash on file names
  • Add integration tests for directories
  • Update itests inventory

- Create a common operation to get the file path since all of them should share the same logic
- Remove any trailing slash on file names
- Add integration tests for directories
- Update itests inventory
@jhoanmanuelms jhoanmanuelms self-assigned this Aug 2, 2023
@jhoanmanuelms jhoanmanuelms requested a review from Juan-EBI August 2, 2023 10:31
Copy link
Contributor

@Juan-EBI Juan-EBI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check comment, we can meet and discuss about it

- Avoid accepting submissions containing trailing slashes
- Only validate the path at deserialization instead of changing the user's input
- Use thread safe operation for directories creation (missed from last PR)
Copy link
Contributor

@Juan-EBI Juan-EBI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jhoanmanuelms jhoanmanuelms merged commit 8f37100 into master Aug 17, 2023
@jhoanmanuelms jhoanmanuelms deleted the bugfix/pivotal-#185649200-file-ending-with-backslash branch August 17, 2023 09:08
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.

2 participants