Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The value of the file name used in "Content-Disposition" response header can contain characters which should be encoded

When serving file with name 'fileNäme.txt' with content disposition attachment (or inline) Wicket will put a response header like: 

Content-Disposition", "attachment; fileN%C3%A4me.txt"; filename*=UTF-8''fileN%C3%A4me.txt

The value is not very human readable but this is the best way to show the file name in cross browser compatible way.

org.apache.wicket.markup.html.form.FormComponentLabel outputs "required", "disabled" and "error" classes when its form component is either required, disabled or invalid. WICKET-5177

...