fix: Error when renaming a file or directory with the "/" character #5372
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.


Description
I added a container below the file name input field that draws the actual path where the file will be created. This is a possible solution to issue #5306 "Unexpected behavior when changing folder and filenames in filebrowser."
Additional Information
I wouldn't like to give up creating a file within one or more directories directly in the new file creation modal, so I added this behavior (similar to how github handles it when adding a file)
Checklist
Closes #5306
masterbranch.