From 71961993a5bc7b7904e5ef9803d0093f406e781f Mon Sep 17 00:00:00 2001 From: nkjackzhang Date: Mon, 2 Apr 2018 19:56:57 +0800 Subject: [PATCH] Add cpp to mime.types In most cases, the extend name of "c++" file is`cpp`, not `c++`. --- .../resources/org/springframework/mail/javamail/mime.types | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-context-support/src/main/resources/org/springframework/mail/javamail/mime.types b/spring-context-support/src/main/resources/org/springframework/mail/javamail/mime.types index 7d625b684d87..52b0799a137d 100644 --- a/spring-context-support/src/main/resources/org/springframework/mail/javamail/mime.types +++ b/spring-context-support/src/main/resources/org/springframework/mail/javamail/mime.types @@ -1,5 +1,5 @@ ################################################################################ -# Copyright 2002-2010 the original author or authors. +# Copyright 2002-2018 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,12 +18,12 @@ # # Defaults for the Java Activation Framework # Additional extensions registered in this file: -# text/plain java c c++ pl cc h +# text/plain java c c++ pl cc h cpp # ################################################################################ text/html html htm HTML HTM -text/plain txt text TXT TEXT java c c++ pl cc h +text/plain txt text TXT TEXT java c c++ pl cc h cpp image/gif gif GIF image/ief ief image/jpeg jpeg jpg jpe JPG