react-native-windows 0.68.25 → 0.68.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Directory.Build.props
CHANGED
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
|
|
65
65
|
<PropertyGroup Label="NuGet" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
|
|
66
66
|
<!--See https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target-->
|
|
67
|
-
<RestoreUseStaticGraphEvaluation Condition="'$(BuildingInsideVisualStudio)' == 'true'">true</RestoreUseStaticGraphEvaluation>
|
|
67
|
+
<RestoreUseStaticGraphEvaluation Condition="'$(BuildingInsideVisualStudio)' == 'true' AND '$(DisableRestoreUseStaticGraphEvaluation)' != 'true'">true</RestoreUseStaticGraphEvaluation>
|
|
68
68
|
</PropertyGroup>
|
|
69
69
|
|
|
70
70
|
</Project>
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.68.
|
|
13
|
+
<ReactNativeWindowsVersion>0.68.27</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>68</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>27</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
18
|
</PropertyGroup>
|
|
19
19
|
</Project>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<!--
|
|
2
|
+
<!--
|
|
3
3
|
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
Licensed under the MIT License.
|
|
5
5
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<PropertyGroup Label="NuGet">
|
|
11
11
|
<!-- Should match entry in $(ReactNativeWindowsDir)vnext\Directory.Build.props -->
|
|
12
12
|
<!--See https://docs.microsoft.com/en-us/nuget/reference/msbuild-targets#restore-target-->
|
|
13
|
-
<RestoreUseStaticGraphEvaluation Condition="'$(BuildingInsideVisualStudio)' == 'true'">true</RestoreUseStaticGraphEvaluation>
|
|
13
|
+
<RestoreUseStaticGraphEvaluation Condition="'$(BuildingInsideVisualStudio)' == 'true' AND '$(DisableRestoreUseStaticGraphEvaluation)' != 'true'">true</RestoreUseStaticGraphEvaluation>
|
|
14
14
|
|
|
15
15
|
<!-- Ensure PackageReference compatibility for any consuming projects/apps -->
|
|
16
16
|
<ResolveNuGetPackages>false</ResolveNuGetPackages>
|
|
@@ -113,6 +113,8 @@ bool OriginPolicyHttpFilter::ConstWcharComparer::operator()(const wchar_t *a, co
|
|
|
113
113
|
/*static*/ void OriginPolicyHttpFilter::SetStaticOrigin(std::string &&url) {
|
|
114
114
|
if (!url.empty())
|
|
115
115
|
s_origin = Uri{to_hstring(url)};
|
|
116
|
+
else
|
|
117
|
+
s_origin = nullptr;
|
|
116
118
|
}
|
|
117
119
|
|
|
118
120
|
/*static*/ bool OriginPolicyHttpFilter::IsSameOrigin(Uri const &u1, Uri const &u2) noexcept {
|
|
@@ -651,21 +653,26 @@ ResponseOperation OriginPolicyHttpFilter::SendPreflightAsync(HttpRequestMessage
|
|
|
651
653
|
preflightRequest.Headers().Insert(L"Access-Control-Request-Method", coRequest.Method().ToString());
|
|
652
654
|
|
|
653
655
|
auto headerNames = wstring{};
|
|
654
|
-
auto
|
|
655
|
-
|
|
656
|
-
|
|
656
|
+
auto writeSeparator = false;
|
|
657
|
+
for (const auto &header : coRequest.Headers()) {
|
|
658
|
+
if (writeSeparator) {
|
|
659
|
+
headerNames += L", ";
|
|
660
|
+
} else {
|
|
661
|
+
writeSeparator = true;
|
|
662
|
+
}
|
|
657
663
|
|
|
658
|
-
|
|
659
|
-
headerNames += L", " + (*headerItr).Key();
|
|
664
|
+
headerNames += header.Key();
|
|
660
665
|
}
|
|
661
666
|
|
|
662
667
|
if (coRequest.Content()) {
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
668
|
+
for (const auto &header : coRequest.Content().Headers()) {
|
|
669
|
+
if (writeSeparator) {
|
|
670
|
+
headerNames += L", ";
|
|
671
|
+
} else {
|
|
672
|
+
writeSeparator = true;
|
|
673
|
+
}
|
|
666
674
|
|
|
667
|
-
|
|
668
|
-
headerNames += L", " + (*headerItr).Key();
|
|
675
|
+
headerNames += header.Key();
|
|
669
676
|
}
|
|
670
677
|
}
|
|
671
678
|
|