Skip to content

Conversation

@yaira2
Copy link
Member

@yaira2 yaira2 commented Jul 10, 2024

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  • Untested

@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Jul 10, 2024
Copy link
Member

@hishitetsu hishitetsu left a comment

Choose a reason for hiding this comment

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

This would certainly prevent crashes, but I'm wondering what string would cause LocalPath to be empty in the first place.

@yaira2
Copy link
Member Author

yaira2 commented Jul 11, 2024

This needs an answer from someone with more knowledge than me 🙂

@hishitetsu
Copy link
Member

I would really like to know what strings cause the crash, but I think it would be good to merge this for now and see what happens.

@yaira2
Copy link
Member Author

yaira2 commented Jul 11, 2024

We can log info via tags, would that help?

@hishitetsu
Copy link
Member

It might be useful, but I am concerned about privacy to log the path as it is.

@yaira2 yaira2 merged commit a3e49e2 into main Jul 11, 2024
@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed ready for review Pull requests that are ready for review labels Jul 11, 2024
@yaira2 yaira2 deleted the ya/ArgumentException- branch July 11, 2024 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Pull requests that are approved and ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: PathNormalization.NormalizePath ArgumentException

3 participants