Skip to content

Commit 0281158

Browse files
committed
Make 'Content-Disposition' header case insensitive
Issue: SPR-9149
1 parent 100fa17 commit 0281158

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

org.springframework.web/src/main/java/org/springframework/web/multipart/support/StandardMultipartHttpServletRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2011 the original author or authors.
2+
* Copyright 2002-2012 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@
4141
*/
4242
public class StandardMultipartHttpServletRequest extends AbstractMultipartHttpServletRequest {
4343

44-
private static final String CONTENT_DISPOSITION = "Content-Disposition";
44+
private static final String CONTENT_DISPOSITION = "content-disposition";
4545

4646
private static final String FILENAME_KEY = "filename=";
4747

0 commit comments

Comments
 (0)