Skip to content

Commit 4736a79

Browse files
VpOfEngineeringfabiocavazfuncgh
authored
4.28.4 (#9781)
* Fixing header lookup for perf/consistency (#9776) --------- Co-authored-by: Fabio Cavalcante <[email protected]> Co-authored-by: azfuncgh <[email protected]>
1 parent 359eb50 commit 4736a79

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

build/common.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<LangVersion>latest</LangVersion>
66
<MajorVersion>4</MajorVersion>
77
<MinorVersion>28</MinorVersion>
8-
<PatchVersion>3</PatchVersion>
8+
<PatchVersion>4</PatchVersion>
99
<BuildNumber Condition="'$(BuildNumber)' == '' ">0</BuildNumber>
1010
<PreviewVersion></PreviewVersion>
1111

release_notes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
<!-- Please add your release notes in the following format:
44
- My change description (#PR)
5-
-->
6-
- Update Python Worker Version to [4.23.0](https://github.com/Azure/azure-functions-python-worker/releases/tag/4.23.0)
5+
-->

src/WebJobs.Script/Extensions/HttpRequestExtensions.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
using Microsoft.AspNetCore.Http.Extensions;
1414
using Microsoft.AspNetCore.WebUtilities;
1515
using Microsoft.Azure.WebJobs.Extensions.Http;
16-
using Microsoft.CodeAnalysis.CSharp.Syntax;
1716
using Microsoft.Extensions.DependencyInjection;
1817
using Microsoft.Extensions.Primitives;
1918
using Newtonsoft.Json;
@@ -85,9 +84,9 @@ public static bool IsAppServiceInternalRequest(this HttpRequest request, IEnviro
8584
}
8685

8786
// this header will *always* be present on requests originating externally (i.e. going
88-
// through the Anatares front end). For requests originating internally it will NOT be
87+
// through the Antares front end). For requests originating internally it will NOT be
8988
// present.
90-
return !request.Headers.Keys.Contains(ScriptConstants.AntaresLogIdHeaderName);
89+
return !request.Headers.ContainsKey(ScriptConstants.AntaresLogIdHeaderName);
9190
}
9291

9392
public static bool IsPlatformInternalRequest(this HttpRequest request, IEnvironment environment = null)

0 commit comments

Comments
 (0)