Skip to content

Fix Path.Combine with glbConfigFolder#5526

Merged
david-poindexter merged 2 commits intodnnsoftware:release/9.11.1from
bdukes:fix-config-paths
Feb 6, 2023
Merged

Fix Path.Combine with glbConfigFolder#5526
david-poindexter merged 2 commits intodnnsoftware:release/9.11.1from
bdukes:fix-config-paths

Conversation

@bdukes
Copy link
Copy Markdown
Contributor

@bdukes bdukes commented Feb 3, 2023

Summary

Since Globals.glbConfigFolder starts with a slash ("\\Config\\"), using it in Path.Combine causes that section of the path to become the path root, instead of being appended to the previous path, as it was with plain string concatenation

Fixes #5522

Since Globals.glbConfigFolder starts with a slash, using it in
Path.Combine causes that section of the path to become the path root,
instead of being appended to the previous path, as it was with plain
string concatenation
@bdukes bdukes added this to the 9.11.1 milestone Feb 3, 2023
Copy link
Copy Markdown
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

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

Build appears to be failing due to a missing closing parenthesis...

Co-authored-by: Daniel Valadas <info@danielvaladas.com>
Copy link
Copy Markdown
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@david-poindexter david-poindexter merged commit 683ba7d into dnnsoftware:release/9.11.1 Feb 6, 2023
@david-poindexter david-poindexter deleted the fix-config-paths branch February 6, 2023 17:49
@bdukes bdukes mentioned this pull request Feb 7, 2023
7 tasks
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.

3 participants