Skip to content

Commit edf11fe

Browse files
Kevin SewellKevin Sewell
andauthored
fix: ensuring that headers are case insensitive (#383)
* fix: ensuring that headers are case insensitive * fix: updating spring version in ci Co-authored-by: Kevin Sewell <kevin@gometroapp.com>
1 parent d3ec494 commit edf11fe

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ jobs:
4949
# Spring core 5.2 and above. SpringBoot 1.5 is deprecated
5050
run: ./gha_build.sh spring true true -Djacoco.minCoverage=0.4
5151
- name: Build Spring 4.3
52-
run: ./gha_build.sh spring false false -Dspring.version=4.3.25.RELEASE -Dspring-security.version=4.2.13.RELEASE
52+
run: ./gha_build.sh spring false false -Dspring.version=4.3.29.RELEASE -Dspring-security.version=4.2.18.RELEASE
5353
- name: Build Spring 5.0
54-
run: ./gha_build.sh spring false false -Dspring.version=5.0.16.RELEASE -Dspring-security.version=5.0.14.RELEASE
54+
run: ./gha_build.sh spring false false -Dspring.version=5.0.19.RELEASE -Dspring-security.version=5.0.18.RELEASE
5555
- name: Build Spring 5.1
56-
run: ./gha_build.sh spring false false -Dspring.version=5.1.14.RELEASE -Dspring-security.version=5.1.8.RELEASE
56+
run: ./gha_build.sh spring false false -Dspring.version=5.1.18.RELEASE -Dspring-security.version=5.1.12.RELEASE
5757

5858
build_springboot2:
5959
name: Build and test SpringBoot 2
@@ -63,9 +63,9 @@ jobs:
6363
- name: Build latest
6464
run: ./gha_build.sh springboot2 true true
6565
- name: Build Spring Boot 2.0
66-
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.0.9.RELEASE -Dspring.version=5.0.16.RELEASE -Dspringsecurity.version=5.0.14.RELEASE
66+
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.0.9.RELEASE -Dspring.version=5.0.19.RELEASE -Dspringsecurity.version=5.0.18.RELEASE
6767
- name: Build Spring Boot 2.1
68-
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.1.12.RELEASE -Dspring.version=5.1.13.RELEASE -Dspringsecurity.version=5.1.8.RELEASE
68+
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.1.17.RELEASE -Dspring.version=5.1.18.RELEASE -Dspringsecurity.version=5.1.12.RELEASE
6969

7070
build_struts2:
7171
name: Build and test Struts 2

aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/testutils/AwsProxyRequestBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ public HttpApiV2ProxyRequest toHttpApiV2Request() {
457457
if (request.getMultiValueHeaders() != null && request.getMultiValueHeaders().containsKey(HttpHeaders.COOKIE)) {
458458
req.setCookies(Arrays.asList(request.getMultiValueHeaders().getFirst(HttpHeaders.COOKIE).split(";")));
459459
}
460-
req.setHeaders(new HashMap<>());
460+
req.setHeaders(new TreeMap<>(String.CASE_INSENSITIVE_ORDER));
461461
if (request.getMultiValueHeaders() != null) {
462462
request.getMultiValueHeaders().forEach((key, value) -> req.getHeaders().put(key, value.get(0)));
463463
}

aws-serverless-java-container-spring/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</parent>
1717

1818
<properties>
19-
<spring.version>5.2.5.RELEASE</spring.version>
19+
<spring.version>5.2.9.RELEASE</spring.version>
2020
<springboot.version>1.5.22.RELEASE</springboot.version>
2121
<spring-security.version>5.2.2.RELEASE</spring-security.version>
2222
</properties>

aws-serverless-spring-archetype/src/main/resources/archetype-resources/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ repositories {
77

88
dependencies {
99
compile (
10-
'org.springframework:spring-webmvc:5.2.5.RELEASE',
11-
'org.springframework:spring-context:5.2.5.RELEASE',
10+
'org.springframework:spring-webmvc:5.2.9.RELEASE',
11+
'org.springframework:spring-context:5.2.9.RELEASE',
1212
'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)',
1313
'org.apache.logging.log4j:log4j-core:2.8.2',
1414
'org.apache.logging.log4j:log4j-api:2.8.2',

aws-serverless-spring-archetype/src/main/resources/archetype-resources/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<properties>
1717
<maven.compiler.source>1.8</maven.compiler.source>
1818
<maven.compiler.target>1.8</maven.compiler.target>
19-
<spring.version>5.2.5.RELEASE</spring.version>
19+
<spring.version>5.2.9.RELEASE</spring.version>
2020
<junit.version>4.12</junit.version>
2121
<log4j.version>2.8.2</log4j.version>
2222
</properties>

samples/spring/pet-store/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ repositories {
77

88
dependencies {
99
compile (
10-
'org.springframework:spring-webmvc:5.2.5.RELEASE',
11-
'org.springframework:spring-context:5.2.5.RELEASE',
10+
'org.springframework:spring-webmvc:5.2.9.RELEASE',
11+
'org.springframework:spring-context:5.2.9.RELEASE',
1212
'com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)',
1313
'org.apache.logging.log4j:log4j-core:2.8.2',
1414
'org.apache.logging.log4j:log4j-api:2.8.2',

samples/spring/pet-store/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<properties>
2727
<maven.compiler.source>1.8</maven.compiler.source>
2828
<maven.compiler.target>1.8</maven.compiler.target>
29-
<spring.version>5.2.5.RELEASE</spring.version>
29+
<spring.version>5.2.9.RELEASE</spring.version>
3030
<junit.version>4.12</junit.version>
3131
<log4j.version>2.13.3</log4j.version>
3232
</properties>

0 commit comments

Comments
 (0)