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

DirectoryCatalog should not do ToUpper if case sensitivity is enabled #111181

Open
JoshLove-msft opened this issue Jan 8, 2025 · 1 comment
Open
Labels
area-System.ComponentModel untriaged New issue has not been triaged by the area owner

Comments

@JoshLove-msft
Copy link
Contributor

Description

This method will call ToUpperInvariant on the file paths for Windows. This causes issues if case-sensitivity has been enabled for a directory. The check where we return early should likely be updated to account for whether the directory has case-sensitivity enabled.

Reproduction Steps

Repro steps can be found here microsoft/typespec#5518

Expected behavior

The file paths should respect case-sensitivity if enabled.

Actual behavior

File paths do not respect case-sensitivity.

Regression?

No response

Known Workarounds

No response

Configuration

No response

Other information

No response

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 8, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jan 8, 2025
@danmoseley danmoseley added area-System.ComponentModel untriaged New issue has not been triaged by the area owner and removed untriaged New issue has not been triaged by the area owner needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jan 8, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-componentmodel
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.ComponentModel untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants