Skip to content

Fix issue #14993 about forward slashes not working on windows when globbing sources#15002

Closed
DavidVilleneuveAnsys wants to merge 1 commit intomicrosoft:mainfrom
DavidVilleneuveAnsys:dvilleneuve-fix-forward-slash-in-globbing
Closed

Fix issue #14993 about forward slashes not working on windows when globbing sources#15002
DavidVilleneuveAnsys wants to merge 1 commit intomicrosoft:mainfrom
DavidVilleneuveAnsys:dvilleneuve-fix-forward-slash-in-globbing

Conversation

@DavidVilleneuveAnsys
Copy link

🐛: Using a list of allowed separators (alternate + normal) to search for instead of only using the main separators

Description

To retrieve the source where we start the globbing pattern, the pattern is first split, then we search for the first Directory separator.

In this search, we only allow for the the principal separator, however, some platforms have alternate separators.

So we use LastIndexOfAny instead of LastIndexOf

Related issue

Issue being fixed is here #14993 and is flagged as a bug

  • I have ensured that there is a previously discussed and approved issue.

🐛: Using a list of allowed separators (alternate + normal) to search for instead of only using the main separators
@nohwnd
Copy link
Member

nohwnd commented Feb 6, 2025

Please accept the CLA if you agree with it. Otherwise I cannot proceed.

@nohwnd nohwnd marked this pull request as draft February 12, 2025 09:52
@nohwnd
Copy link
Member

nohwnd commented Feb 12, 2025

making it a draft, waiting for @DavidVilleneuveAnsys to confirm CLA

@nohwnd
Copy link
Member

nohwnd commented Feb 17, 2025

Closing without deleting the branch, can't take your code without approving CLA. Please comment below if you'd like to continue on this.

@nohwnd nohwnd closed this Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants