Revision 3676
Added by barteau almost 17 years ago
lib/style/common/ClientViewHelper.jspx | ||
---|---|---|
21 | 21 |
|
22 | 22 |
contentType = request.getContentType(); |
23 | 23 |
message = ""; |
24 |
if (contentType != null && contentType.contains("multipart/form-data")) {
|
|
24 |
if (contentType != null && (contentType.indexOf("multipart/form-data") > -1)) {
|
|
25 | 25 |
//*** Process request here if a file update. |
26 | 26 |
//*** Init the MultipartParser. |
27 | 27 |
sizeLimit = (new Integer(MetaCatUtil.getOption("datafilesizelimit"))).intValue(); |
Also available in: Unified diff
Removed the use of String.contains() to make it java 1.4 compliant.