Skip to content

Commit ecbeaf3

Browse files
committed
Use HTTPS in URL
1 parent e60829b commit ecbeaf3

File tree

17 files changed

+50
-50
lines changed

17 files changed

+50
-50
lines changed

src/main/java/org/apache/commons/fileupload/DiskFileUpload.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* <p>This class handles multiple files per single HTML widget, sent using
2828
* {@code multipart/mixed} encoding type, as specified by
29-
* <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link
29+
* <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link
3030
* #parseRequest(HttpServletRequest)} to acquire a list of {@link
3131
* org.apache.commons.fileupload.FileItem}s associated with a given HTML
3232
* widget.</p>
@@ -111,7 +111,7 @@ public int getSizeThreshold() {
111111
}
112112

113113
/**
114-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
114+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
115115
* compliant {@code multipart/form-data} stream. If files are stored
116116
* on disk, the path is given by {@code getRepository()}.
117117
*

src/main/java/org/apache/commons/fileupload/FileUpload.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* <p>This class handles multiple files per single HTML widget, sent using
2323
* {@code multipart/mixed} encoding type, as specified by
24-
* <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link
24+
* <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link
2525
* #parseRequest(RequestContext)} to acquire a list
2626
* of {@link org.apache.commons.fileupload.FileItem FileItems} associated
2727
* with a given HTML widget.</p>

src/main/java/org/apache/commons/fileupload/FileUploadBase.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
*
4848
* <p>
4949
* This class handles multiple files per single HTML widget, sent using {@code multipart/mixed} encoding type, as specified by
50-
* <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link #parseRequest(RequestContext)} to acquire a list of
50+
* <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link #parseRequest(RequestContext)} to acquire a list of
5151
* {@link org.apache.commons.fileupload.FileItem}s associated with a given HTML widget.
5252
* </p>
5353
*
@@ -1122,7 +1122,7 @@ public String getHeaderEncoding() {
11221122
}
11231123

11241124
/**
1125-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
1125+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
11261126
* compliant {@code multipart/form-data} stream.
11271127
*
11281128
* @param ctx The context for the request to be parsed.
@@ -1302,7 +1302,7 @@ protected Map<String, String> parseHeaders(final String headerPart) {
13021302
}
13031303

13041304
/**
1305-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
1305+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
13061306
* compliant {@code multipart/form-data} stream.
13071307
*
13081308
* @param ctx The context for the request to be parsed.
@@ -1328,7 +1328,7 @@ public Map<String, List<FileItem>> parseParameterMap(final RequestContext ctx) t
13281328
}
13291329

13301330
/**
1331-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
1331+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
13321332
* compliant {@code multipart/form-data} stream.
13331333
*
13341334
* @param req The servlet request to be parsed.
@@ -1347,7 +1347,7 @@ public List<FileItem> parseRequest(final HttpServletRequest req)
13471347
}
13481348

13491349
/**
1350-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
1350+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
13511351
* compliant {@code multipart/form-data} stream.
13521352
*
13531353
* @param ctx The context for the request to be parsed.

src/main/java/org/apache/commons/fileupload/MultipartStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Low level API for processing file uploads.
3232
*
3333
* <p>
34-
* This class can be used to process data streams conforming to MIME 'multipart' format as defined in <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC
34+
* This class can be used to process data streams conforming to MIME 'multipart' format as defined in <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC
3535
* 1867</a>. Arbitrarily large amounts of data in the stream can be processed under constant memory usage.
3636
* </p>
3737
*

src/main/java/org/apache/commons/fileupload/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* <p>
2020
* A component for handling HTML file uploads as specified by
21-
* <a href="http://www.ietf.org/rfc/rfc1867.txt" target="_top">RFC&nbsp;1867</a>.
21+
* <a href="https://www.ietf.org/rfc/rfc1867.txt" target="_top">RFC&nbsp;1867</a>.
2222
* This component provides support for uploads within both servlets (JSR 53)
2323
* and portlets (JSR 168).
2424
* </p>

src/main/java/org/apache/commons/fileupload/portlet/PortletFileUpload.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* <p>This class handles multiple files per single HTML widget, sent using
3636
* {@code multipart/mixed} encoding type, as specified by
37-
* <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use
37+
* <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use
3838
* {@link org.apache.commons.fileupload.servlet.ServletFileUpload
3939
* #parseRequest(javax.servlet.http.HttpServletRequest)} to acquire a list
4040
* of {@link org.apache.commons.fileupload.FileItem FileItems} associated
@@ -83,7 +83,7 @@ public PortletFileUpload(final FileItemFactory fileItemFactory) {
8383
}
8484

8585
/**
86-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
86+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
8787
* compliant {@code multipart/form-data} stream.
8888
*
8989
* @param request The portlet request to be parsed.
@@ -103,7 +103,7 @@ public FileItemIterator getItemIterator(final ActionRequest request)
103103
}
104104

105105
/**
106-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
106+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
107107
* compliant {@code multipart/form-data} stream.
108108
*
109109
* @param request The portlet request to be parsed.
@@ -119,7 +119,7 @@ public Map<String, List<FileItem>> parseParameterMap(final ActionRequest request
119119
}
120120

121121
/**
122-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
122+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
123123
* compliant {@code multipart/form-data} stream.
124124
*
125125
* @param request The portlet request to be parsed.

src/main/java/org/apache/commons/fileupload/portlet/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* </pre>
3939
* <p>
4040
* Please see the FileUpload
41-
* <a href="http://commons.apache.org/fileupload/using.html" target="_top">User Guide</a>
41+
* <a href="https://commons.apache.org/fileupload/using.html" target="_top">User Guide</a>
4242
* for further details and examples of how to use this package.
4343
* </p>
4444
*/

src/main/java/org/apache/commons/fileupload/servlet/ServletFileUpload.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* <p>This class handles multiple files per single HTML widget, sent using
3636
* {@code multipart/mixed} encoding type, as specified by
37-
* <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link
37+
* <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>. Use {@link
3838
* #parseRequest(HttpServletRequest)} to acquire a list of {@link
3939
* org.apache.commons.fileupload.FileItem}s associated with a given HTML
4040
* widget.</p>
@@ -88,7 +88,7 @@ public ServletFileUpload(final FileItemFactory fileItemFactory) {
8888
}
8989

9090
/**
91-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
91+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
9292
* compliant {@code multipart/form-data} stream.
9393
*
9494
* @param request The servlet request to be parsed.
@@ -108,7 +108,7 @@ public FileItemIterator getItemIterator(final HttpServletRequest request)
108108
}
109109

110110
/**
111-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
111+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
112112
* compliant {@code multipart/form-data} stream.
113113
*
114114
* @param request The servlet request to be parsed.
@@ -124,7 +124,7 @@ public Map<String, List<FileItem>> parseParameterMap(final HttpServletRequest re
124124
}
125125

126126
/**
127-
* Processes an <a href="http://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
127+
* Processes an <a href="https://www.ietf.org/rfc/rfc1867.txt">RFC 1867</a>
128128
* compliant {@code multipart/form-data} stream.
129129
*
130130
* @param request The servlet request to be parsed.

src/main/java/org/apache/commons/fileupload/util/mime/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
/**
1919
* MIME decoder implementation, imported and retailed from
20-
* <a href="http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-javamail_1.4_spec-1.4/">Apache Geronimo</a>.
20+
* <a href="https://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-javamail_1.4_spec-1.4/">Apache Geronimo</a>.
2121
*/
2222
package org.apache.commons.fileupload.util.mime;

src/site/fml/faq.fml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
bug in earlier versions of that component that caused problems with
4444
multipart requests. The bug was fixed some time ago, so you probably
4545
just need to pick up a newer version. See the
46-
<a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=15278">Tomcat bug report</a>
46+
<a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=15278">Tomcat bug report</a>
4747
for full details.
4848
</answer>
4949
</faq>
@@ -141,7 +141,7 @@
141141
</p>
142142
<p>
143143
The problems details and a possible workaround are outlined in
144-
<a href="http://issues.apache.org/jira/browse/FILEUPLOAD-143">
144+
<a href="https://issues.apache.org/jira/browse/FILEUPLOAD-143">
145145
Bug 143
146146
</a>
147147
. The workaround suggests to use the streaming API

0 commit comments

Comments
 (0)