Author: ggregory Date: Fri Jun 13 19:53:49 2025 New Revision: 77527 Log: Staging release: commons-fileupload2-distribution, version: 2.0.0-M4
Added: dev/commons/fileupload/2.0.0-M4-RC1/ dev/commons/fileupload/2.0.0-M4-RC1/HEADER.html dev/commons/fileupload/2.0.0-M4-RC1/README.html dev/commons/fileupload/2.0.0-M4-RC1/RELEASE-NOTES.txt dev/commons/fileupload/2.0.0-M4-RC1/binaries/ dev/commons/fileupload/2.0.0-M4-RC1/binaries/HEADER.html dev/commons/fileupload/2.0.0-M4-RC1/binaries/README.html dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz (with props) dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.asc dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.sha512 dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip (with props) dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.asc dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.sha512 dev/commons/fileupload/2.0.0-M4-RC1/signature-validator.sh dev/commons/fileupload/2.0.0-M4-RC1/site/ dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/ dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/00000000000000000000000000000000.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/2c27249f3e6df269751ee1c5d74c7d2e.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/2cd9de8d95507b300cacd68f88929bbc.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/30f9094d5dbe2ce93f1a41afc9615b83.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/336bc7e3330df0d682d46abf0193d420.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/4156866f23b66d5ca7df5cdc86cb9a0e.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/45ab74e5e4967303d485dbcf7cdfbddc.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/a010ac0916b6b9b10883e9359cfcd7f9.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/b2d5fbba8049e2068996e20fb4e5fab5.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/e61e8b1692adef471b537670989d22b1.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/f33196e855827e904bc63f4c26d15c10.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/f83a9a74efc39cd950ac769ebd7fbefd.jpg (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/ci-management.html dev/commons/fileupload/2.0.0-M4-RC1/site/css/ dev/commons/fileupload/2.0.0-M4-RC1/site/css/bootstrap.min.css dev/commons/fileupload/2.0.0-M4-RC1/site/css/prettify.css dev/commons/fileupload/2.0.0-M4-RC1/site/css/print.css dev/commons/fileupload/2.0.0-M4-RC1/site/css/site.css dev/commons/fileupload/2.0.0-M4-RC1/site/dependencies.html dev/commons/fileupload/2.0.0-M4-RC1/site/dependency-convergence.html dev/commons/fileupload/2.0.0-M4-RC1/site/dependency-info.html dev/commons/fileupload/2.0.0-M4-RC1/site/dependency-management.html dev/commons/fileupload/2.0.0-M4-RC1/site/distribution-management.html dev/commons/fileupload/2.0.0-M4-RC1/site/images/ dev/commons/fileupload/2.0.0-M4-RC1/site/images/close.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/collapsed.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/commons-logo.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/expanded.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/external-classic.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/help_logo.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_arrowfolderclosed1_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_arrowfolderopen2_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_arrowwaste1_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_arrowwaste2_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_doc_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_doc_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_error_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_error_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_folder_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_folder_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_help_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_info_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_info_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_members_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_sortdown.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_sortup.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_success_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_success_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_usergroups_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_warning_lrg.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/icon_warning_sml.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/logos/ dev/commons/fileupload/2.0.0-M4-RC1/site/images/logos/build-by-maven-black.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/logos/build-by-maven-white.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/logos/maven-feather.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/newwindow-classic.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/nw_maj_rond.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/strich.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/sw_maj_rond.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/images/sw_med_rond.gif (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/img/ dev/commons/fileupload/2.0.0-M4-RC1/site/img/glyphicons-halflings-white.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/img/glyphicons-halflings.png (with props) dev/commons/fileupload/2.0.0-M4-RC1/site/index.html dev/commons/fileupload/2.0.0-M4-RC1/site/issue-management.html dev/commons/fileupload/2.0.0-M4-RC1/site/japicmp.html dev/commons/fileupload/2.0.0-M4-RC1/site/jira-changes.html dev/commons/fileupload/2.0.0-M4-RC1/site/js/ dev/commons/fileupload/2.0.0-M4-RC1/site/js/bootstrap.min.js dev/commons/fileupload/2.0.0-M4-RC1/site/js/jquery.min.js dev/commons/fileupload/2.0.0-M4-RC1/site/js/prettify.js dev/commons/fileupload/2.0.0-M4-RC1/site/js/prettify.min.js dev/commons/fileupload/2.0.0-M4-RC1/site/js/site.js dev/commons/fileupload/2.0.0-M4-RC1/site/mailing-lists.html dev/commons/fileupload/2.0.0-M4-RC1/site/org.apache.commons_commons-fileupload2-distribution-2.0.0-M4.spdx.json dev/commons/fileupload/2.0.0-M4-RC1/site/project-info.html dev/commons/fileupload/2.0.0-M4-RC1/site/project-reports.html dev/commons/fileupload/2.0.0-M4-RC1/site/rat-report.html dev/commons/fileupload/2.0.0-M4-RC1/site/scm.html dev/commons/fileupload/2.0.0-M4-RC1/site/summary.html dev/commons/fileupload/2.0.0-M4-RC1/site/surefire.html dev/commons/fileupload/2.0.0-M4-RC1/site/team.html dev/commons/fileupload/2.0.0-M4-RC1/source/ dev/commons/fileupload/2.0.0-M4-RC1/source/HEADER.html dev/commons/fileupload/2.0.0-M4-RC1/source/README.html dev/commons/fileupload/2.0.0-M4-RC1/source/commons-fileupload2-2.0.0-M4-src.tar.gz (with props) dev/commons/fileupload/2.0.0-M4-RC1/source/commons-fileupload2-2.0.0-M4-src.tar.gz.asc dev/commons/fileupload/2.0.0-M4-RC1/source/commons-fileupload2-2.0.0-M4-src.tar.gz.sha512 dev/commons/fileupload/2.0.0-M4-RC1/source/commons-fileupload2-2.0.0-M4-src.zip (with props) dev/commons/fileupload/2.0.0-M4-RC1/source/commons-fileupload2-2.0.0-M4-src.zip.asc dev/commons/fileupload/2.0.0-M4-RC1/source/commons-fileupload2-2.0.0-M4-src.zip.sha512 Added: dev/commons/fileupload/2.0.0-M4-RC1/HEADER.html ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/HEADER.html (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/HEADER.html Fri Jun 13 19:53:49 2025 @@ -0,0 +1,31 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<h2>Apache Commons Project Distributions</h2> + +<p> + The most recent source and binary releases for the Apache Commons project are available from this + directory listing. For older releases, please use the + <a href="https://archive.apache.org/dist/commons/">archives</a>. +</p> + +<h2>Important Notices</h2> + +<ul> + <li><a href="#mirrors">Download from your nearest mirror site!</a></li> + <li><a href="#sig">PGP/GPG Signatures</a></li> +</ul> + Added: dev/commons/fileupload/2.0.0-M4-RC1/README.html ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/README.html (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/README.html Fri Jun 13 19:53:49 2025 @@ -0,0 +1,66 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<h1>Commons-FILEUPLOAD v2.0.0-M4.</h1> + +<p>This is the 2.0.0-M4 version of commons-fileupload2-distribution. It is available in both binary and source distributions.</p> + + +<p><font color="red" size="+2">Note:</font> + The tar files in the distribution use GNU tar extensions + and must be untarred with a GNU compatible version of tar. The version + of tar on Solaris and Mac OS X will not work with these files</p> + +<a name="changes"><h2>Changes</h2></a> + +<p>The changes in this release are detailed in the release notes.</p> + +<p>Thank you for using <a href="https://commons.apache.org/proper/commons-fileupload/commons-fileupload2-distribution/">FILEUPLOAD</a>.</p> + +<p>From the Apache Commons Project<br><a href="https://commons.apache.org/">https://commons.apache.org/</a></p> + +<h2><a name="mirrors">Download from your + <a href="http://www.apache.org/dyn/closer.cgi/commons/">nearest mirror site!</a></a></h2> + +<p> + Do not download from www.apache.org. Please use a mirror site + to help us save apache.org bandwidth. + <a href="http://www.apache.org/dyn/closer.cgi/commons/">Go + here to find your nearest mirror.</a> +</p> + +<a name="sig"><h2>Signatures</h2></a> + +<p>Many of the files have been digitally signed using GnuPG. If so, + there will be an accompanying <samp><em>file</em>.asc</samp> signature + file in the same directory as the file (binaries/ or source/). The + signing keys can be found in the distribution directory at <<a + HREF="http://downloads.apache.org/commons/KEYS"><samp>http://downloads.apache.org/commons/KEYS</samp></a>>.</p> + +<p><b>Always download the KEYS file directly from the Apache site, never from a mirror site.</b></p> + + +<pre>Always test available signatures, <i>e.g.</i>, +$ pgpk -a KEYS +$ pgpv commons-fileupload2-distribution-2.0.0-M4-bin.tar.gz.asc +or, +$ pgp -ka KEYS +$ pgp commons-fileupload2-distribution-2.0.0-M4-bin.tar.gz.asc +or, +$ gpg --import KEYS +$ gpg --verify commons-fileupload2-distribution-2.0.0-M4-bin.tar.gz.asc +</pre> +<p> \ No newline at end of file Added: dev/commons/fileupload/2.0.0-M4-RC1/RELEASE-NOTES.txt ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/RELEASE-NOTES.txt (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/RELEASE-NOTES.txt Fri Jun 13 19:53:49 2025 @@ -0,0 +1,397 @@ +Apache Commons FileUpload 2.0.0-M4 Release Notes +------------------------------------------------ + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 2.0.0-M4. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to Servlets and web +applications. This version requires Java 11 or above. + + +This release requires Java 11. + +Changes in version 2.0.0-M4 include: + +New features: +o Add partHeaderSizeMax, a new limit that sets a maximum number of bytes for each individual multipart header. The default is 512 bytes. Thanks to Mark Thomas. + +Fixed Bugs: +o Simplify exception handling in FileItem API #309. Thanks to Basil Crow. + + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +Download it from https://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi + +------------------------------------------------------------------------------ +Apache Commons FileUpload 2.0.0-M3 Release Notes +------------------------------------------------ + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 2.0.0-M3. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to Servlets and web +applications. This version requires Java 11 or above. + + +This release requires Java 11. + +Changes in version 2.0.0-M3 include: + +New features: +o Handle multipart/related Requests without content-disposition header. Thanks to mufasa1976, Gary Gregory. + +Fixed Bugs: +o [site] Fix instantiation of DiskFileItemFactory in migration guide #273. Thanks to Gregor Dschung. +o FILEUPLOAD-355: [site] Update code example: Use IOUtils instead of Streams utils class. Thanks to Ana, Gary Gregory. +o Replace internal use of Locale.ENGLISH with Locale.ROOT. Thanks to Gary Gregory. +o Pick up JUnit version from parent POM. Thanks to Gary Gregory. +o FILEUPLOAD-356: [site] Fix incorrect link to changes report in Commons FileUpload #357. Thanks to Mattias Reichel, GirirajSinghRathore, Gary Gregory. +o Fix changes report link for new version of Maven Changes plugin from commons-parent 79 #388. Thanks to Filipe Roque. +o Fix SpotBugs multithreading issues in DiskFileItem. Thanks to Gary Gregory. + +Changes: +o Bump org.apache.commons:commons-parent from 66 to 83 #283, #294, #335, #343, #345, #351, #356, #360, #368. Thanks to Gary Gregory. +o Bump commons-io:commons-io from 2.16.0 to 2.19.0 #297, #352, #377. Thanks to Gary Gregory. +o Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.6.3 to 3.7.0 #319. Thanks to Gary Gregory. +o Bump org.codehaus.mojo:taglist-maven-plugin from 3.0.0 to 3.1.0 #327. Thanks to Gary Gregory. +o Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.17.0 #331, #338, #346. Thanks to Gary Gregory. + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +Download it from https://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi + +------------------------------------------------------------------------------ + +Apache Commons FileUpload 2.0.0-M2 Release Notes +------------------------------------------------ + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 2.0.0-M2. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to Servlets and web +applications. This version requires Java 11 or above. + + +2.0.0-M2 Release + +Changes in version 2.0.0-M2 include: + +New features: +o Fix off-by-one error when checking fileSizeMax in FileItemInputImpl #235. Thanks to James Reeves. +o FILEUPLOAD-352: NullPointerException in DiskFileItem#toString. Thanks to Bj�rn Kautler, Gary Gregory. +o Fail fast on null inputs to org.apache.commons.fileupload2.core.AbstractRequestContext.AbstractRequestContext(Function, LongSupplier, T). Thanks to Gary Gregory. +o Complete refactoring in JakartaServletRequestContext. Thanks to Gary Gregory. +o Fix "Implicit narrowing conversion in compound assignment" from https://github.com/apache/commons-fileupload/security/code-scanning/118. Thanks to Gary Gregory. +o Refactor to support Jakarta Servlet 5 and 6. Thanks to Gary Gregory. +o Generate some OSGi metadata. Thanks to Michal H Siemaszko, Gary Gregory. + +Fixed Bugs: +o Pick up Maven Moditect plugin version from parent POM. Thanks to Gary Gregory. + +Changes: +o Bump Java from 8 to 11. Thanks to Dependabot. +o Bump commons-parent from 58 to 65. Thanks to Gary Gregory. +o Bump commons-lang3 from 3.12.0 to 3.14.0. Thanks to Gary Gregory. +o Bump commons-io from 2.13.0 to 2.15.1. Thanks to Gary Gregory. + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +Download it from https://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi + +------------------------------------------------------------------------------ + +Apache Commons FileUpload 2.0.0-M1 Release Notes +------------------------------------------------ + +The Apache Commons FileUpload Parent team is pleased to announce the release of Apache Commons FileUpload Parent 2.0.0-M1. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to servlets and web +applications. + +This version requires Java 11 or later. + +Note also that the base package name has changed to org.apache.commons.fileupload2, +so source changes will be required. + +The Maven coordinates have also changed to: + + <groupId>org.apache.commons</groupId> + <artifactId>commons-fileupload2</artifactId> + +They were previously: + <groupId>commons-fileupload</groupId> + <artifactId>commons-fileupload</artifactId> + + +2.0.0-M1 Release + +Changes in version 2.0.0-M1 include: + +New features: +o Add github/codeql-action from #144. Thanks to Gary Gregory. +o Add the package org.apache.fileupload2.jaksrvlt, for compliance with Jakarta Servlet API 5.0. +o Making FileUploadException a subclass of IOException. (Mibor API simplification.) +o Add a configurable limit (disabled by default) for the number of files to upload per request. + +Fixed Bugs: +o Changing Maven coordinates, and package name, due to binary incompatible changes. +o FILEUPLOAD-293: DiskFileItem.write(File) had been changed to use FileUtils.moveFile internally, preventing an existing file as the target. +o FILEUPLOAD-296: Performance gains by reusing an internal buffer. Thanks to David Georg Reochelt. +o FILEUPLOAD-274: RFC 5987 compliance Thanks to Merbin J Anselm. +o Slight optim: resuse the index position instead of recomputing it #49. Thanks to Emmanuel L�charny. +o FILEUPLOAD-340: Make commons-fileupload2 a JPMS module by adding module-info.class. +o FILEUPLOAD-341: Move Exception classes out of the impl package. Thanks to Martin Grigorov. +o Rework exceptions to use propagated exception causes (introduced in Java 1.4). Thanks to Gary Gregory. +o All custom exception extend FileUploadException. Thanks to Gary Gregory. +o All custom exceptions serialVersionUID value is now 2. Thanks to Gary Gregory. +o FILEUPLOAD-350: FileUploadByteCountLimitException ctor switches fileName and fieldName parameters #216. Thanks to Ernesto Reinaldo Barreiro. +o [StepSecurity] ci: Harden GitHub Actions #224. Thanks to step-security-bot, Gary Gregory. + +Changes: +o Bump actions/cache from 2.1.6 to 3.0.8 #128, #140. Thanks to Dependabot, Gary Gregory. +o Bump actions/checkout from 2.3.4 to 3.0.2 #125. Thanks to Dependabot, Gary Gregory. +o Bump build actions/setup-java from 1.4.3 to 3.8.0 #142, #175, #180, #182. Thanks to Gary Gregory. +o Bump Java compiler level to 1.8. +o Bump commons-io:commons-io 2.6 to 2.13.0, #104, #221. Thanks to Gary Gregory, Dependabot. +o Bump junit-jupiter from 5.5.2 to 5.9.1 #31, #130, #156, #166. Thanks to Dependabot. +o Bump maven-pmd-plugin from 3.13.0 to 3.19.0 #48, #162. Thanks to Dependabot. +o Bump commons.japicmp.version from 0.13.0 to 0.16.0. Thanks to Gary Gregory. +o Bump spotbugs-maven-plugin from 4.2.3 to 4.7.3.0 #103, #133, #141, #146, #155, #163, #179. Thanks to Dependabot. +o Bump spotbugs from 4.2.3 to 4.7.3, ignore EI_EXPOSE_REP, and EI_EXPOSE_REP2, #152, #161, #174. Thanks to Dependabot. +o Bump biz.aQute.bndlib from 6.0.0 to 6.4.0 #129, #181. Thanks to Dependabot. +o Bump commons-parent from 52 to 58, #167, #183, #194. Thanks to Gary Gregory, Dependabot. +o Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 #160. Thanks to Dependabot. + +Removed: +o Remove deprecated constructors in MultipartStream. Thanks to Gary Gregory. +o Remove deprecated RequestContext.getContentLength(). Thanks to Gary Gregory. +o Remove deprecated JakSrvltRequestContext.getContentLength(). Thanks to Gary Gregory. +o Remove deprecated PortletRequestContext.getContentLength(). Thanks to Gary Gregory. +o Remove deprecated ServletRequestContext.getContentLength(). Thanks to Gary Gregory. +o Remove deprecated FileUploadBase.MAX_HEADER_SIZE. Thanks to Gary Gregory. +o Remove deprecated FileUploadBase.createItem(Map, boolean). Thanks to Gary Gregory. +o Remove deprecated FileUploadBase.getFieldName(Map). Thanks to Gary Gregory. +o Remove deprecated FileUploadBase.getFileName(Map). Thanks to Gary Gregory. +o Remove deprecated FileUploadBase.getHeader(Map, String). Thanks to Gary Gregory. +o Remove deprecated FileUploadBase.parseHeaders(String). Thanks to Gary Gregory. +o Replace org.apache.commons.fileupload2.util.mime.Base64Decoder with java.util.Base64. Thanks to Gary Gregory. +o Replace LimitedInputStream with BoundedInputStream. Thanks to Gary Gregory. +o FileItemHeadersImpl is no longer Serializable. Thanks to Gary Gregory. +o Reuse Java's InvalidPathException instead of the custom InvalidFileNameException. Thanks to Gary Gregory. + +For complete information on Apache Commons FileUpload Parent, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload Parent website: + +https://commons.apache.org/proper/commons-fileupload/ + +------------------------------------------------------------------------------ + +Apache Commons FileUpload 1.6.0 Release Notes +--------------------------------------------- + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.6.0. + +The Apache Commons FileUpload component provides a simple yet flexible means of adding support for multipart +file upload functionality to servlets and web applications. + +This release requires Java 8. + +Changes in this version include: + +New features: +o [1.x] Enable multipart/related on FileUpload #314. Thanks to mufasa1976, Jochen Wiedmann, Gary Gregory. +o Add JApiCmp to the default Maven goal. Thanks to Gary Gregory. +o Add partHeaderSizeMax, a new limit that sets a maximum number of bytes for each individual multipart header. The default is 512 bytes. Thanks to Mark Thomas. + +Fixed Bugs: +o Replace use of Locale.ENGLISH with Locale.ROOT. Thanks to Gary Gregory. +o Remove unused exception from FileUploadBase.createItem(Map, boolean). Thanks to Gary Gregory. +o Migrate from deprecated API in DiskFileItem.getOutputStream(). Thanks to Gary Gregory. +o Use try-with-resources. Thanks to Gary Gregory. +o Port to Java 1.4 Throwable APIs (!). Thanks to Gary Gregory. +o Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80). Thanks to Gary Gregory. +o DiskFileItem.getInputStream() now uses NIO. Thanks to Gary Gregory. +o Last statement in DiskFileItem.finalize() method should be a call to super.finalize(). Thanks to Gary Gregory. +o org.apache.commons.fileupload.FileUploadBase.FileUploadIOException is now a proper Java 1.4-style exception (propagates its cause to super). Thanks to Gary Gregory. +o Use java.util.Base64 instead of custom code. Thanks to Gary Gregory. + +Changes: +o Bump Java from 6 to 8. Thanks to Gary Gregory. +o Bump org.apache.commons:commons-parent from 62 to 84, upgrades Doxia from 1 to 2. Thanks to Gary Gregory. +o Bump commons-io from 2.11.0 to 2.19.0. Thanks to Gary Gregory. +o Bump javax.servlet:servlet-api from 2.4 to 2.5. Thanks to Gary Gregory. +o Bump JUnit from junit:junit:4.13.2 org.junit.vintage:junit-vintage-engine from parent POM. Thanks to Gary Gregory. + + +Historical list of changes: https://commons.apache.org/proper/commons-fileupload/changes.html + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +Download page: https://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi + +Apache Commons Team + +------------------------------------------------------------------------------ + + Apache Commons FileUpload 1.5 RELEASE NOTES + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.5. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to servlets and web +applications. Version 1.3 onwards requires Java 6 or later. + +No client code changes are required to migrate from version 1.4 to 1.5. + +Changes in version 1.5 include: + +New features: +o Add a configurable limit (disabled by default) for the number of files to upload per request. + +Fixed Bugs: +o FILEUPLOAD-293: DiskFileItem.write(File) had been changed to use FileUtils.moveFile internally, preventing an existing file as the target. +o Improve parsing speed. Thanks to David Georg Reichelt. + +Changes: +o Bump Commons IO to 2.11.0 +o FILEUPLOAD-328 Switch from Cobertura code coverage to Jacoco code coverage. Thanks to Arturo Bernal. +o Bump JUnit to 4.13.2 + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +------------------------------------------------------------------------------ + + Apache Commons FileUpload 1.4 RELEASE NOTES + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.4. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to servlets and web +applications. Version 1.3 onwards requires Java 6 or later. + + +1.4 Release + +Changes in version 1.4 include: + +New features: +o Site: added security report + +Fixed Bugs: +o FILEUPLOAD-252: DiskFileItem#write() could lose original IO exception +o FILEUPLOAD-258: DiskFileItem#getStoreLocation() wrongly returned a File object for items stored in memory +o FILEUPLOAD-242: FileUploadBase - should not silently catch and ignore all Throwables +o FILEUPLOAD-257: Fix Javadoc 1.8.0 errors +o FILEUPLOAD-234: Fix section "Resource cleanup" of the user guide +o FILEUPLOAD-237: Fix streaming example: use FileItem.getInputStream() instead of openStream() +o FILEUPLOAD-248: DiskFileItem might suppress critical IOExceptions on rename - use FileUtil.move instead +o FILEUPLOAD-251: DiskFileItem#getTempFile() is broken +o FILEUPLOAD-250: FileUploadBase - potential resource leak - InputStream not closed on exception +o FILEUPLOAD-244: DiskFileItem.readObject fails to close FileInputStream +o FILEUPLOAD-245: DiskFileItem.get() may not fully read the data + +Changes: +o FILEUPLOAD-292: Don't create un-needed resources in FileUploadBase.java +o FILEUPLOAD-282: Upversion complier.source, compiler.target to 1.6 +o FILEUPLOAD-246: FileUpload should use IOUtils.closeQuietly where relevant +o FILEUPLOAD-243: Make some MultipartStream private fields final Thanks to Ville Skytt�. + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +------------------------------------------------------------------------------ + + Apache Commons FileUpload 1.3.3 RELEASE NOTES + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.3.3. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to servlets and web +applications. Version 1.3 onwards requires Java 5 or later. + +No client code changes are required to migrate from version 1.3.0, 1.3.1, or 1.3.2, to 1.3.3 + +Changes in version 1.3.3 include: + +o FILEUPLOAD-279: DiskFileItem can no longer be deserialized, unless a particular system property is set. + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +------------------------------------------------------------------------------ + +No client code changes are required to migrate from version 1.3.1 to 1.3.2. + +Changes in version 1.3.2 include: + +o FILEUPLOAD-272: Performance Improvement in MultipartStream. Prevents a DoS (CVE-2016-3092) + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + +------------------------------------------------------------------------------ + + Apache Commons FileUpload 1.3.1 RELEASE NOTES + +The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.3.1. + +The Apache Commons FileUpload component provides a simple yet flexible means of +adding support for multipart file upload functionality to servlets and web +applications. Version 1.3 onwards requires Java 5 or later. + +No client code changes are required to migrate from version 1.3.0 to 1.3.1. + + +This is a security and maintenance release that includes an important security +fix as well as a small number of bugfixes. + +Changes in version 1.3.1 include: + + +Fixed Bugs: +o SECURITY - CVE-2014-0050. Specially crafted input can trigger a DoS if the + buffer used by the MultipartStream is not big enough. When constructing + MultipartStream enforce the requirements for buffer size by throwing an + IllegalArgumentException if the requested buffer size is too small. This + prevents the DoS. +o When deserializing DiskFileItems ensure that the repository location, if + any, is a valid one. Thanks to Arun Babu Neelicattu. +o Correct example in usage documentation so it compiles. + + + +For complete information on Apache Commons FileUpload, including instructions on how to submit bug reports, +patches, or suggestions for improvement, see the Apache Commons FileUpload website: + +https://commons.apache.org/proper/commons-fileupload/ + Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/HEADER.html ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/binaries/HEADER.html (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/binaries/HEADER.html Fri Jun 13 19:53:49 2025 @@ -0,0 +1,31 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<h2>Apache Commons Project Distributions</h2> + +<p> + The most recent source and binary releases for the Apache Commons project are available from this + directory listing. For older releases, please use the + <a href="https://archive.apache.org/dist/commons/">archives</a>. +</p> + +<h2>Important Notices</h2> + +<ul> + <li><a href="#mirrors">Download from your nearest mirror site!</a></li> + <li><a href="#sig">PGP/GPG Signatures</a></li> +</ul> + Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/README.html ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/binaries/README.html (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/binaries/README.html Fri Jun 13 19:53:49 2025 @@ -0,0 +1,66 @@ +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<h1>Commons-FILEUPLOAD v2.0.0-M4.</h1> + +<p>This is the 2.0.0-M4 version of commons-fileupload2-distribution. It is available in both binary and source distributions.</p> + + +<p><font color="red" size="+2">Note:</font> + The tar files in the distribution use GNU tar extensions + and must be untarred with a GNU compatible version of tar. The version + of tar on Solaris and Mac OS X will not work with these files</p> + +<a name="changes"><h2>Changes</h2></a> + +<p>The changes in this release are detailed in the release notes.</p> + +<p>Thank you for using <a href="https://commons.apache.org/proper/commons-fileupload/commons-fileupload2-distribution/">FILEUPLOAD</a>.</p> + +<p>From the Apache Commons Project<br><a href="https://commons.apache.org/">https://commons.apache.org/</a></p> + +<h2><a name="mirrors">Download from your + <a href="http://www.apache.org/dyn/closer.cgi/commons/">nearest mirror site!</a></a></h2> + +<p> + Do not download from www.apache.org. Please use a mirror site + to help us save apache.org bandwidth. + <a href="http://www.apache.org/dyn/closer.cgi/commons/">Go + here to find your nearest mirror.</a> +</p> + +<a name="sig"><h2>Signatures</h2></a> + +<p>Many of the files have been digitally signed using GnuPG. If so, + there will be an accompanying <samp><em>file</em>.asc</samp> signature + file in the same directory as the file (binaries/ or source/). The + signing keys can be found in the distribution directory at <<a + HREF="http://downloads.apache.org/commons/KEYS"><samp>http://downloads.apache.org/commons/KEYS</samp></a>>.</p> + +<p><b>Always download the KEYS file directly from the Apache site, never from a mirror site.</b></p> + + +<pre>Always test available signatures, <i>e.g.</i>, +$ pgpk -a KEYS +$ pgpv commons-fileupload2-distribution-2.0.0-M4-bin.tar.gz.asc +or, +$ pgp -ka KEYS +$ pgp commons-fileupload2-distribution-2.0.0-M4-bin.tar.gz.asc +or, +$ gpg --import KEYS +$ gpg --verify commons-fileupload2-distribution-2.0.0-M4-bin.tar.gz.asc +</pre> +<p> \ No newline at end of file Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.asc ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.asc (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.asc Fri Jun 13 19:53:49 2025 @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmhMgbwACgkQhv3H4qES +YsvWfgf/eAyq56PB8fgUwXD44ErlxliGoWv8JFxiFd1sYI8Gjfj+XxSrMy3g12pm +xIMW0gQorFRwXcf4DXA/Gr/hnKqLt0xB1zPV53p9Idgrc+fg29nHhPXfb27D5ws0 +anJvE0E+f/hKiZykuenLMfrXPr/gAYfGkudMuP9Ls7r58wrAlJkBlI9OUSMECur1 +pN9YKc9ODLDf4RMKkzBjfqywSKPheONf0NpyxpIxqsWDJmYa6joMZjtCgZTqVWUe +8QAb2MfhVbcc4F36wbZSdiMJW4xGpOlARwqCXtfSSs3ixJ4BPBHl4TsZHKiJKNx5 +LsaRg/ixNruG5+Tg/1MRPS6S//zBlw== +=0y03 +-----END PGP SIGNATURE----- Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.sha512 ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.sha512 (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.tar.gz.sha512 Fri Jun 13 19:53:49 2025 @@ -0,0 +1 @@ +ff672361b7fd90c894d4fc82e4d61fd2f1b0e4d2d3322cd24c841d0d066a1f2e649dc98b36fa53bba26ee0162635c8c5a6600b0d0934319e48df561f66c24d5e Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.asc ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.asc (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.asc Fri Jun 13 19:53:49 2025 @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEELbTx7w+nYezE6pNchv3H4qESYssFAmhMgbwACgkQhv3H4qES +YsvCkAf+PGnH2vdzyLg0vqwKw8ZUx3hb0QPLbrzY0uFC9lnQF5Jo01/ino8++IKY +BBS+ywsflbMaBcX6Xcj0duKTZsc0NaYSCyVbF2A1fh2VD1aAAYmqE/M1pY0aXb/f +dQRhtvu5a+IA+TVFvKurejY+hTJED3rd4rtPdmujJbZSj34un8gI2XdzEeRDVWc2 +IWOstdr4TCUSuLLlq2DBN6cfCpY4VXFmN9QIu1dKeqOWhzBChtlvLvTonpJVpLgX +GxIx3pFSiRZHu2JpibP8RajaDHS5+LIK1ZZr6vz1e/xWSyNcIiMzkc4Ew3qnVk0g +1jNME9BYyuyaMhrB7kKPAJcswNpBlQ== +=k8YJ +-----END PGP SIGNATURE----- Added: dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.sha512 ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.sha512 (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/binaries/commons-fileupload2-2.0.0-M4-bin.zip.sha512 Fri Jun 13 19:53:49 2025 @@ -0,0 +1 @@ +fc0a5e9193646bc611c1edd7ded55b452159b617a75a45ed2ea4a0ae50995610dbf4a1dfe9336a65292679dabb4a91af5c14b2285994e92c6d05c503714d4706 Added: dev/commons/fileupload/2.0.0-M4-RC1/signature-validator.sh ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/signature-validator.sh (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/signature-validator.sh Fri Jun 13 19:53:49 2025 @@ -0,0 +1,161 @@ +#!/bin/bash -x +########### +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +########### +# DOCUMENTATION. +# This script is to be placed in the root of the svn dist checkout. +# For example, my directory looks like: +# +# drwxr-xr-x@ 8 usr staff 256 Oct 1 11:22 .svn +# -rw-r--r--@ 1 usr staff 1230 Oct 1 11:22 HEADER.html +# -rw-r--r--@ 1 usr staff 2649 Oct 1 11:22 README.html +# -rw-r--r--@ 1 usr staff 5093 Oct 1 11:22 RELEASE-NOTES.txt +# drwxr-xr-x@ 10 usr staff 320 Oct 1 11:22 binaries +# -rw-r--r--@ 1 usr staff 3900 Oct 1 13:40 signature-validation.sh +# drwxr-xr-x@ 44 usr staff 1408 Oct 1 11:22 site +# drwxr-xr-x@ 10 usr staff 320 Oct 1 11:37 source +# +# From here you run ./signature-validation.sh and it will create a directory "artifacts-for-validation-deletable-post-validation +# in which all of the binaries generated by a release are copied and then it checks to see that all of the signatures and hashes +# are infact correct for the artifacts. +# +########### + +if test "$#" != "1" +then + echo "ERROR:" + echo "We expect the a url like https://repository.apache.org/content/repositories/orgapachecommons-1531/commons-net/commons-net/3.7.1/" + echo "to be passed in as a parameter to the script." +fi + + + +BASEDIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" +VALIDATION_DIR=${BASEDIR}/artifacts-for-validation-deletable-post-validation +BINARIES_DIR=${BASEDIR}/binaries +SOURCE_DIR=${BASEDIR}/source + +BASE_NEXUS_URL="$1" + +function clean_and_build_validation_dir() { + mkdir -p ${VALIDATION_DIR} +} + +function copy_in_checked_out_artifacts() { + cp ${BASEDIR}/binaries/commons* ${VALIDATION_DIR} + cp ${BASEDIR}/source/commons* ${VALIDATION_DIR} +} + +function download_nexus_artifacts_to_validation_directory() { + # Curls html page and does text modification to put artifacts in semicolon delimited list + # ...(ugly but works, debug by removing pipes one at a time) + echo "INFO: Downloading artifacts from nexus" + + echo ${BASE_NEXUS_URL} + NEXUS_ARTIFACTS=$(curl ${BASE_NEXUS_URL} \ + | grep "${BASE_NEXUS_URL}" \ + | cut -d '>' -f3 \ + | sed "s|</a|;|g" \ + | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/ /g' \ + | sed 's/ //g' + ) + IFS=';' read -r -a array <<< "${NEXUS_ARTIFACTS}" + + for element in "${array[@]}" + do + ARTIFACT_NAME=$(echo $element | cut -d '/' -f7) + echo $ARTIFACT_NAME + URL="${BASE_NEXUS_URL}${element}" + curl $URL -o ${VALIDATION_DIR}/$ARTIFACT_NAME + done +} + +function validate_signatures() { + echo "INFO: Validating Signatures in ${VALIDATION_DIR}" + ALL_ARTIFACTS=$(ls -Al ${VALIDATION_DIR} \ + | awk -F':[0-9]* ' '/:/{print $2}' \ + | sed -e ':a' -e 'N' -e '$!ba' -e 's/\n/;/g' \ + ) + + ARTIFACTS_FOR_VALIDATION=() + + IFS=';' read -r -a array <<< "${ALL_ARTIFACTS}" + + for element in "${array[@]}" + do + if [[ ! (${element} =~ ^.*asc$ || ${element} =~ ^.*sha512$ || ${element} =~ ^.*md5$ || ${element} =~ ^.*sha1$) ]]; + then + ARTIFACTS_FOR_VALIDATION=("${ARTIFACTS_FOR_VALIDATION[@]}" $element) + fi + done + + for element in "${ARTIFACTS_FOR_VALIDATION[@]}" + do + if [[ ${element} =~ ^.*tar.gz.*$ || ${element} =~ ^.*zip.*$ ]]; + then + ARTIFACT_SHA512=$(openssl sha512 ${VALIDATION_DIR}/$element | cut -d '=' -f2 | cut -d ' ' -f2) + FILE_SHA512=$(cut -d$'\r' -f1 ${VALIDATION_DIR}/$element.sha512) + if test "${ARTIFACT_SHA512}" != "${FILE_SHA512}" + then + echo "$element failed sha512 check" + echo "==${ARTIFACT_SHA512}==" + echo "==${FILE_SHA512}==" + exit 1; + fi + else + ARTIFACT_MD5=$(openssl md5 ${VALIDATION_DIR}/$element | cut -d '=' -f2 | cut -d ' ' -f2) + FILE_MD5=$(cut -d$'\r' -f1 ${VALIDATION_DIR}/$element.md5) + ARTIFACT_SHA1=$(openssl sha1 ${VALIDATION_DIR}/$element | cut -d '=' -f2 | cut -d ' ' -f2) + FILE_SHA1=$(cut -d$'\r' -f1 ${VALIDATION_DIR}/$element.sha1) + if test "${ARTIFACT_MD5}" != "${FILE_MD5}" + then + echo "$element failed md5 check" + echo "==${ARTIFACT_MD5}==" + echo "==${FILE_MD5}==" + exit 1; + fi + if test "${ARTIFACT_SHA1}" != "${FILE_SHA1}" + then + echo "$element failed sha1 check" + echo "==${ARTIFACT_SHA1}==" + echo "==${FILE_SHA1}==" + exit 1; + fi + + + gpg --verify ${VALIDATION_DIR}/$element.asc ${VALIDATION_DIR}/$element > /dev/null 2>&1 + if test "$?" != "0" + then + echo "$element failed gpg signature check" + exit 1; + fi + fi + done + + echo "SUCCESSFUL VALIDATION" +} + +function clean_up_afterwards() { + rm -rf ${VALIDATION_DIR} +} + + +echo $(clean_and_build_validation_dir) +echo $(copy_in_checked_out_artifacts) +echo $(download_nexus_artifacts_to_validation_directory) +echo $(validate_signatures) +#clean_up_afterwards + Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/00000000000000000000000000000000.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/00000000000000000000000000000000.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/2c27249f3e6df269751ee1c5d74c7d2e.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/2c27249f3e6df269751ee1c5d74c7d2e.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/2cd9de8d95507b300cacd68f88929bbc.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/2cd9de8d95507b300cacd68f88929bbc.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/30f9094d5dbe2ce93f1a41afc9615b83.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/30f9094d5dbe2ce93f1a41afc9615b83.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/336bc7e3330df0d682d46abf0193d420.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/336bc7e3330df0d682d46abf0193d420.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/4156866f23b66d5ca7df5cdc86cb9a0e.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/4156866f23b66d5ca7df5cdc86cb9a0e.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/45ab74e5e4967303d485dbcf7cdfbddc.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/45ab74e5e4967303d485dbcf7cdfbddc.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/a010ac0916b6b9b10883e9359cfcd7f9.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/a010ac0916b6b9b10883e9359cfcd7f9.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/b2d5fbba8049e2068996e20fb4e5fab5.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/b2d5fbba8049e2068996e20fb4e5fab5.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/e61e8b1692adef471b537670989d22b1.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/e61e8b1692adef471b537670989d22b1.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/f33196e855827e904bc63f4c26d15c10.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/f33196e855827e904bc63f4c26d15c10.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/f83a9a74efc39cd950ac769ebd7fbefd.jpg ============================================================================== Binary file - no diff available. Propchange: dev/commons/fileupload/2.0.0-M4-RC1/site/avatars/f83a9a74efc39cd950ac769ebd7fbefd.jpg ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: dev/commons/fileupload/2.0.0-M4-RC1/site/ci-management.html ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/site/ci-management.html (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/site/ci-management.html Fri Jun 13 19:53:49 2025 @@ -0,0 +1,256 @@ +<!DOCTYPE html> +<!-- + | Generated by Apache Maven Doxia Site Renderer 2.0.0 from org.apache.maven.plugins:maven-project-info-reports-plugin:3.9.0:ci-management at 13 Jun 2025 + | Rendered using Apache Commons Skin +--> +<html xmlns="http://www.w3.org/1999/xhtml" lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>CI Management â Apache Commons FileUpload Distribution</title> + + <link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" /> + <link rel="stylesheet" href="./css/site.css" type="text/css" /> + <link rel="stylesheet" href="./css/print.css" media="print" /> + + <script type="text/javascript" src="./js/jquery.min.js"></script> + <script type="text/javascript" src="./js/bootstrap.min.js"></script> + <script type="text/javascript" src="./js/prettify.min.js"></script> + <script type="text/javascript" src="./js/site.js"></script> + + + </head> + + <body class="composite"> + <a href="https://commons.apache.org/" id="bannerLeft"> + <img class="logo-left" src=" ./images/commons-logo.png +" alt="Apache Commons logo"/> + </a> + <a href="../index.html" id="bannerRight"> + <img class="logo-right" src=" ../images/logo.png +" alt="Commons FileUpload"/> + </a> + <div class="clear"></div> + + <div class="navbar"> + <div class="navbar-inner"> + <div class="container-fluid"> + <a class="brand" href="https://commons.apache.org/proper/commons-fileupload/commons-fileupload2-distribution/">Apache Commons FileUpload Distribution ™</a> + <ul class="nav"> + <li id="publishDate">Last Published: 13 Jun 2025</li> + <li class="divider">|</li> <li id="projectVersion">Version: 2.0.0-M4</li> + </ul> + <div class="pull-right"> <ul class="nav"> + <li> + <a href="https://www.apachecon.com/" class="externalLink" title="ApacheCon"> + ApacheCon</a> + </li> + <li> + <a href="https://www.apache.org" class="externalLink" title="Apache"> + Apache</a> + </li> + <li> + <a href="../../../" title="Commons"> + Commons</a> + </li> + </ul> +</div> + </div> + </div> + </div> + + <div class="container-fluid"> + <table class="layout-table"> + <tr> + <td class="sidebar"> + <div class="well sidebar-nav"> + <ul class="nav nav-list"> + <li class="nav-header">Project Documentation</li> + <li class="expanded"> + <a href="project-info.html" title="Project Information"> + Project Information</a> + <ul> + <li class="none"> + <a href="index.html" title="About"> + About</a> + </li> + <li class="none"> + <a href="summary.html" title="Summary"> + Summary</a> + </li> + <li class="none"> + <a href="team.html" title="Team"> + Team</a> + </li> + <li class="none"> + <a href="scm.html" title="Source Code Management"> + Source Code Management</a> + </li> + <li class="none"> + <a href="issue-management.html" title="Issue Management"> + Issue Management</a> + </li> + <li class="none"> + <a href="mailing-lists.html" title="Mailing Lists"> + Mailing Lists</a> + </li> + <li class="none"> + <a href="dependency-info.html" title="Maven Coordinates"> + Maven Coordinates</a> + </li> + <li class="none"> + <a href="dependency-management.html" title="Dependency Management"> + Dependency Management</a> + </li> + <li class="none"> + <a href="dependencies.html" title="Dependencies"> + Dependencies</a> + </li> + <li class="none"> + <a href="dependency-convergence.html" title="Dependency Convergence"> + Dependency Convergence</a> + </li> + <li class="none active"> + <a href="ci-management.html" title="CI Management"> + CI Management</a> + </li> + <li class="none"> + <a href="distribution-management.html" title="Distribution Management"> + Distribution Management</a> + </li> + </ul> + </li> + <li class="collapsed"> + <a href="project-reports.html" title="Project Reports"> + Project Reports</a> + </li> + </ul> + <ul class="nav nav-list"> + <li class="nav-header">Commons</li> + <li class="none"> + <a href="../../../" title="Home"> + Home</a> + </li> + <li class="none"> + <a href="https://www.apache.org/licenses/" class="externalLink" title="License"> + License</a> + </li> + <li class="collapsed"> + <a href="../../../components.html" title="Components"> + Components</a> + </li> + <li class="collapsed"> + <a href="../../../sandbox/index.html" title="Sandbox"> + Sandbox</a> + </li> + <li class="collapsed"> + <a href="../../../dormant/index.html" title="Dormant"> + Dormant</a> + </li> + </ul> + <ul class="nav nav-list"> + <li class="nav-header">General Information</li> + <li class="none"> + <a href="../../../security.html" title="Security"> + Security</a> + </li> + <li class="none"> + <a href="../../../volunteering.html" title="Volunteering"> + Volunteering</a> + </li> + <li class="none"> + <a href="../../../patches.html" title="Contributing Patches"> + Contributing Patches</a> + </li> + <li class="none"> + <a href="../../../building.html" title="Building Components"> + Building Components</a> + </li> + <li class="none"> + <a href="../../../commons-parent-pom.html" title="Commons Parent POM"> + Commons Parent POM</a> + </li> + <li class="none"> + <a href="../../../build-plugin/index.html" title="Commons Build Plugin"> + Commons Build Plugin</a> + </li> + <li class="none"> + <a href="../../../release-plugin/index.html" title="Commons Release Plugin"> + Commons Release Plugin</a> + </li> + <li class="none"> + <a href="../../../site-publish.html" title="Site Publication"> + Site Publication</a> + </li> + <li class="none"> + <a href="../../../releases/index.html" title="Releasing Components"> + Releasing Components</a> + </li> + <li class="none"> + <a href="https://cwiki.apache.org/confluence/display/commons/FrontPage" class="externalLink" title="Wiki"> + Wiki</a> + </li> + </ul> + <ul class="nav nav-list"> + <li class="nav-header">ASF</li> + <li class="none"> + <a href="https://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How the ASF works"> + How the ASF works</a> + </li> + <li class="none"> + <a href="https://www.apache.org/foundation/getinvolved.html" class="externalLink" title="Get Involved"> + Get Involved</a> + </li> + <li class="none"> + <a href="https://www.apache.org/dev/" class="externalLink" title="Developer Resources"> + Developer Resources</a> + </li> + <li class="none"> + <a href="https://www.apache.org/foundation/policies/conduct.html" class="externalLink" title="Code of Conduct"> + Code of Conduct</a> + </li> + <li class="none"> + <a href="https://privacy.apache.org/policies/privacy-policy-public.html" class="externalLink" title="Privacy"> + Privacy</a> + </li> + <li class="none"> + <a href="https://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsorship"> + Sponsorship</a> + </li> + <li class="none"> + <a href="https://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks"> + Thanks</a> + </li> + </ul> + </div> + <div id="poweredBy"> + <a href="https://www.apache.org/events/current-event.html" title="ApacheCon" class="builtBy"> + <img class="builtBy" alt="ApacheCon" src="https://www.apache.org/events/current-event-125x125.png" /> + </a> + <a href="https://maven.apache.org/" title="Maven" class="builtBy"> + <img class="builtBy" alt="Maven" src="https://maven.apache.org/images/logos/maven-feather.png" /> + </a> + </div> + </td> + <td class="content"> + <section><a id="Overview"></a> +<h1>Overview</h1> +<p>This project uses <a class="externalLink" href="https://github.com/features/actions/">GitHub Actions</a>.</p></section><section><a id="Access"></a> +<h1>Access</h1> +<p>The following is a link to the continuous integration system used by the project:</p> +<pre><a class="externalLink" href="https://github.com/apache/commons-parent/actions">https://github.com/apache/commons-parent/actions</a></pre></section><section><a id="Notifiers"></a> +<h1>Notifiers</h1> +<p>No notifiers are defined. Please check back at a later date.</p></section> + </td> + </tr> + </table> + </div> + + <div class="footer"> + <p>Copyright © 2002-2025 + <a href="https://www.apache.org/">The Apache Software Foundation</a>. + All Rights Reserved.</p> + </div> + </body> + +</html> Added: dev/commons/fileupload/2.0.0-M4-RC1/site/css/bootstrap.min.css ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/site/css/bootstrap.min.css (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/site/css/bootstrap.min.css Fri Jun 13 19:53:49 2025 @@ -0,0 +1,9 @@ +/*! + * Bootstrap v2.2.1 + * + * Copyright 2012 Twitter, Inc + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Designed and built with all the love in the world @twitter by @mdo and @fat. [... 2 lines stripped ...] Added: dev/commons/fileupload/2.0.0-M4-RC1/site/css/prettify.css ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/site/css/prettify.css (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/site/css/prettify.css Fri Jun 13 19:53:49 2025 @@ -0,0 +1,111 @@ +/** + * + * Copyright (C) 2006 Google Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/* $Id$ */ + +.str { + color: #080 +} + +.kwd { + color: #008 +} + +.com { + color: #800 +} + +.typ { + color: #606 +} + +.lit { + color: #066 +} + +.pun { + color: #660 +} + +.pln { + color: #000 +} + +.tag { + color: #008 +} + +.atn { + color: #606 +} + +.atv { + color: #080 +} + +.dec { + color: #606 +} + +.source { + background-color: #EAEAEA; + border: none; + margin: 0.5em; +} + +.source pre { + font-family: "Monaco",Courier,monospace; + font-size: 0.9em; + margin-bottom: 0; +} + +@media print { + .str { + color: #060 + } + .kwd { + color: #006; + font-weight: bold + } + .com { + color: #600; + font-style: italic + } + .typ { + color: #404; + font-weight: bold + } + .lit { + color: #044 + } + .pun { + color: #440 + } + .pln { + color: #000 + } + .tag { + color: #006; + font-weight: bold + } + .atn { + color: #404 + } + .atv { + color: #060 + } +} \ No newline at end of file Added: dev/commons/fileupload/2.0.0-M4-RC1/site/css/print.css ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/site/css/print.css (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/site/css/print.css Fri Jun 13 19:53:49 2025 @@ -0,0 +1,23 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/* $Id: print.css 1201871 2011-11-14 20:18:24Z simonetripodi $ */ + +#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {display: none !important;} +#bodyColumn, body.docs div.docs {margin: 0 !important;border: none !important} Added: dev/commons/fileupload/2.0.0-M4-RC1/site/css/site.css ============================================================================== --- dev/commons/fileupload/2.0.0-M4-RC1/site/css/site.css (added) +++ dev/commons/fileupload/2.0.0-M4-RC1/site/css/site.css Fri Jun 13 19:53:49 2025 @@ -0,0 +1,99 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +div.clear { clear:both; visibility: hidden; } +div.clear hr { display: none; } + +/* Tweaks to the fluido skin +--------------------------------- */ + +a.externalLink[href^="http"] { + background-image: none; +} + +#publishDate, #projectVersion, .divider { + padding: 10px 0px 10px 10px; +} + +li { line-height: 20px; } +tt { font-family: Menlo, Monaco, "Courier New", monospace; font-size: 12px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 3px 4px; color: #d14; background-color: #f7f7f9; border: 1px solid #e1e1e8; } +dt { margin: 15px 0 5px 0; font-size: 1.2em } + +.big-red { font-weight: bold; color: #D14 } +.big-green { font-weight: bold; color: green } + +.layout-table { width: 100%; } +.sidebar { width: 250px; vertical-align: top; } +.content { padding-left: 20px; vertical-align: top; } + +.sidebar-nav { padding: 9px 0; } + +.logo-left { margin: 10px; float: left } +.logo-right { margin: 5px; float: right; height: 100px } + +.navbar .nav { margin-left: 40px; } + +.nav-list { margin-bottom: 15px; } +.nav-list li { line-height: 16px; } +.nav-list li.nav-header { color: #333; } +.nav-list li.nav-header i { margin-right: 5px; } + +.nav-list li a { background-repeat: no-repeat; background-position: 16px 9px; padding-left: 34px; } +.nav-list li.collapsed > a { background-image: url(../images/collapsed.gif) } +.nav-list li.expanded > a { background-image: url(../images/expanded.gif) } + +.nav-list li.expanded ul { list-style: none; margin-left: 0px; } +.nav-list li.expanded li a { display: block; padding: 3px 15px 3px 45px; margin-left: -15px; margin-right: -15px; } +.nav-list li.expanded li a:hover { text-decoration: none; background-color: #eeeeee; } +.nav-list li.expanded li.active a { background-color: #08C; color: white } + +.nav.nav-tabs { margin-bottom: 8px; } + +.content .section { margin-top: 20px; } +.content .section:first-child { margin-top: 0px; } +.section h2 { margin-bottom: 10px; } +.section h3 { margin-bottom: 10px; } +.section h4 { margin-bottom: 10px; } + +.footer { background-color: whitesmoke; padding: 15px; margin-top: 15px; text-align: center; border-top: 1px solid #EEEEEE; } +.footer p,div { font-size: 12px; margin: 0 } + +.table-not-wide { width: inherit;} +.alert-heading { display: block; font-size: 14px; margin-bottom: 6px; font-weight: bold; } + +.builtBy { margin-left: auto; margin-right: auto; display: block; padding-top: 3px; } + +/* Pretty printing styles. Used with prettify.js. +---------------------------------------------------- */ +.com { color: #93a1a1; } +.lit { color: #195f91; } +.pun, .opn, .clo { color: #93a1a1; } +.fun { color: #dc322f; } +.str, .atv { color: #D14; } +.kwd, .linenums .tag { color: #1e347b; } +.typ, .atn, .dec, .var { color: teal; } +.pln { color: #48484c; } +.prettyprint { padding: 8px; background-color: #f7f7f9; border: 1px solid #e1e1e8; } +.prettyprint.linenums { + -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; + -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; + box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; +} +ol.linenums { margin: 0 0 0 33px; } +ol.linenums li { padding-left: 12px; color: #bebec5; line-height: 18px; text-shadow: 0 1px 0 #fff; }