Improve filename parsing from Content-Disposition header


* Add handling of 'filename*=' parameter, but support only a
  small subset of encodings for now
* Sanitize the incoming filename, making sure that there is no
  possibility to write to a different directoty and also
  substituting characters that may have special meaning in the
  filesystem or shell commands.

Fixes: QTBUG-141443
Pick-to: 6.11
Change-Id: I0059a07cde3b725692fb2dd5108339884aaa78ea
Reviewed-by: Tatiana Borisova <tatiana.borisova@qt.io>
commitfcc2b351354a41ffd019bb9789da8b527e8b31d7
parent0649f2af553e1ead3c79fc5f8f244028fc82d820
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeThu, 15 Jan 2026 11:08:59 +0100