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

(MODULES-11188) Fix physicalPath on apps and sites #336

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

chelnak
Copy link
Contributor

@chelnak chelnak commented Mar 11, 2022

Context

Prior to this PR it looks like we'd chosen the incorrect property to pull back from the iis config. It turns out that PhysicalPath != physicalPath and the former was behaving differently between the app and site resources.

What has changed?

This PR standardises on physicalPath which returns the correct value for both app and site resources. For clarity, physicalPath returns a string which we can directly manipulate if required.

@chelnak chelnak requested a review from a team as a code owner March 11, 2022 17:57
Prior to this commit it looks like we'd chosen the incorrect property
to pull back from the iis config. PhysicalPath != physicalPath and the
former was behaving differently between the app and site resources.

This commit standardises on physicalPath which returns the correct value
for both app and site resources. For clarity, physicalPath returns a
string which we can directly manipulate if required.
@chelnak chelnak force-pushed the MODULES-11188-physical_path_fixes branch from 35cbcb0 to 4ab8f4b Compare March 14, 2022 10:27
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

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

LGTM

Failure's look to be transient

@david22swan david22swan merged commit 0f935a2 into main Mar 14, 2022
@david22swan david22swan deleted the MODULES-11188-physical_path_fixes branch March 14, 2022 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants