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

[3.2] Fix the String::get_base_dir() logic to properly check for top level directories on Windows #44610

Merged
merged 1 commit into from
Dec 23, 2020

Conversation

m4gr3d
Copy link
Contributor

@m4gr3d m4gr3d commented Dec 23, 2020

Given a path like D:\, the previous logic would check for :// and not find it.
This caused it to fall into a case where the returned base directory would be built based on the last \\ or / character, in this case causing D: to be returned.

Fixes issue #44409.

master PR

@m4gr3d m4gr3d added this to the 3.2 milestone Dec 23, 2020
@m4gr3d m4gr3d requested a review from a team December 23, 2020 08:58
@m4gr3d m4gr3d changed the title Fix the String::get_base_dir() logic to properly check for top level directories on Windows [3.2] Fix the String::get_base_dir() logic to properly check for top level directories on Windows Dec 23, 2020
@akien-mga akien-mga merged commit cddff04 into godotengine:3.2 Dec 23, 2020
@akien-mga
Copy link
Member

Thanks!

@m4gr3d m4gr3d deleted the fix_top_level_android_export_3_2 branch December 24, 2020 02:50
@akien-mga akien-mga modified the milestones: 3.2, 3.3 Apr 21, 2021
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.

2 participants