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

Fix get_base_dir returning same path, if slash is in the end #58508

Closed
wants to merge 1 commit into from
Closed

Fix get_base_dir returning same path, if slash is in the end #58508

wants to merge 1 commit into from

Conversation

Akylzhan
Copy link

Fixes #58504

@akien-mga
Copy link
Member

Would be good to rebase to make sure it still builds and works fine, and to add some test cases to tests/core/string/test_string.h.

Notably it should test a few combinations of paths with a trailing slash, like:

some/nested/path/
some/
/absolute/nested/path/
/absolute/
/
../

@AThousandShips
Copy link
Member

The issue has been closed and was closed by:

This might be unnecessary now

@akien-mga akien-mga closed this Oct 30, 2023
@akien-mga akien-mga removed this from the 4.3 milestone Oct 30, 2023
@Akylzhan Akylzhan deleted the path-fix branch November 13, 2023 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Godot 4: Need to press "Directory Up" button twice in path with slash at the end
6 participants