Fix upload header encoding used by apache file upload

Apache file upload library (ServletFileUpload) parses the uploaded file
name with default container file encoding if the encoding is not
specified in the request (accept-charset). Recent browsers do not send
accept-charset header when upload is done by submitting the file from a
form element. In this case, if container default file encoding is set to
ISO-8859-1, file names with special characters (umlauts) are corrupted.

Explicitly set ServletFileUpload header encoding to be UTF-8.

Bug 570119: [FileDialog] Size limit exceeded error message is missing if
uploaded file name has special characters

Change-Id: Ib494e60d70243056b3f1d372080ef01d25199fcb
1 file changed
tree: 11e746e2b0f0f4896c15dd8aa595e567d4a3914b
  1. bundles/
  2. examples/
  3. features/
  4. releng/
  5. tests/
  6. .gitignore
  7. CONTRIBUTING.md
  8. Gruntfile.js
  9. package.json
  10. pom.xml
  11. README.md
README.md

Eclipse RAP Runtime (Remote Application Platform)

Thanks for your interest in this project. The [Eclipse RAP Runtime] 1 provides a powerful widget toolkit and integrates well with proven technologies such as OSGi and Java EE. You can write your application entirely in Java, re-use code and benefit from first-class IDE tools.

Git Repository Structure

directorycontent
bundles/all bundle projects
tests/unit test projects
features/feature projects
releng/projects for release engineering
examples/for bundles containing exemplary applications and demo code

Additional information regarding source code management, builds, coding standards, and more can be found on the [Getting involved with RAP development] 2 pages. For more information, refer to the [RAP wiki pages] 3.

Building RAP Runtime

The RAP project uses Tycho with Maven to build its bundles, features, examples, and p2 repositories, and it's easy to run the build locally! All you need is Maven installed on your computer, and then you need to run the following command from the root of the Git repository:

mvn clean verify

As a result, you'll get a p2 repository with all the RAP Runtime bundles and features in

releng/org.eclipse.rap.build/repository/target/repository/

and a second one with the RAP e4 Runtime bundles in

releng/org.eclipse.rap.build/repository.e4/target/repository/

Official builds are available from the [RAP Download page] 4.

Contributions

Before your contribution can be accepted by the project, you need to create and electronically sign the [Eclipse Foundation Contributor License Agreement (CLA)] 5 and sign off on the Eclipse Foundation Certificate of Origin.

For more information, please visit [Contributing via Git] 6.

License

[Eclipse Public License (EPL) v1.0] 7

Contact

Contact the project developers via the [RAP Forum] 8 or the project's [“dev” mailing list] 9.

Search for bugs

This project uses Bugzilla to track [ongoing development and issues] 10.

Create a new bug

Be sure to [search for existing bugs] 10 before you [create a new RAP bug report] 11. Remember that contributions are always welcome!