You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GetContainingModules() converts paths to lower case for internal path comparison. One of those path conversions can be returned externally preventing the absolute path string return value from matching the exact path case value.
Reproduction steps
Pass an absolute path to Edk2Path.GetContainingModules()
Verify case on return
Expected behavior
The exact case passed to the function should be returned.
Execution Environment
No response
Pip packages
No response
Additional context
I've written a test case to show the issue and confirm the fix that will be checked in with the change.
The text was updated successfully, but these errors were encountered:
…ules()
Closestianocore#204
Updates `Edk2Path.GetContainingModules()` to preserve case the case
for each absolute path returned in the list of absolute paths.
This allows callers dependent on case comparison to get the expected
result.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
…ules()
Closestianocore#204
Updates `Edk2Path.GetContainingModules()` to preserve case the case
for each absolute path returned in the list of absolute paths.
This allows callers dependent on case comparison to get the expected
result.
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Contact Details
No response
Describe the Bug
GetContainingModules()
converts paths to lower case for internal path comparison. One of those path conversions can be returned externally preventing the absolute path string return value from matching the exact path case value.Reproduction steps
Edk2Path.GetContainingModules()
Expected behavior
The exact case passed to the function should be returned.
Execution Environment
No response
Pip packages
No response
Additional context
I've written a test case to show the issue and confirm the fix that will be checked in with the change.
The text was updated successfully, but these errors were encountered: