spring-guides/gs-uploading-files

Documentation Errata

Closed this issue · 3 comments

Hello,

I believe the example given in the documentation has a small issue with the given syntax. The colon should be an equals sign.

URL: https://spring.io/guides/gs/uploading-files/
Section: Tuning file upload limits

Actual Example
multipart.maxFileSize: 128KB multipart.maxRequestSize: 128KB

Expected Example
multipart.maxFileSize=128KB multipart.maxRequestSize=128KB

dsyer commented

I'm guessing you didn't try it then because colons are valid separators in properties files (see JDK docs).

Noted. I got an error in IntelliJ, and assumed incorrectly.

If you posted a screenshot of IntelliJ's error, we could forward that to Jetbrains to avoid in the future.