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
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsHttpApiV2ProxyHttpServletRequest.java
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsProxyHttpServletRequest.java
+32-3Lines changed: 32 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -325,8 +325,17 @@ public String getContentType() {
325
325
326
326
@Override
327
327
publicStringgetParameter(Strings) {
328
+
329
+
// decode key if ALB
330
+
if (request.getRequestSource() == RequestSource.ALB) {
@SuppressFBWarnings("PZLA_PREFER_ZERO_LENGTH_ARRAYS") // suppressing this as according to the specs we should be returning null here if we can't find params
355
371
publicString[] getParameterValues(Strings) {
372
+
373
+
// decode key if ALB
374
+
if (request.getRequestSource() == RequestSource.ALB) {
375
+
s = decodeValueIfEncoded(s);
376
+
}
377
+
378
+
// TODO lots of back and forth arrays and lists here, sort it out!
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/test/java/com/amazonaws/serverless/proxy/internal/servlet/AwsProxyHttpServletRequestTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,8 @@ public class AwsProxyHttpServletRequestTest {
0 commit comments