diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-04-26 16:51:30 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-05-24 01:12:55 +0300 |
| commit | 29a00e959b4d9cc58df3ba080b56eb8a3631eb20 (patch) | |
| tree | c65831cb825b5c300f65b2f3840ae9f0157649d9 /src/plugins/platforms/android/androidcontentfileengine.cpp | |
| parent | d4960f380e718bbc3df3fe33c68ba8c693394892 (diff) | |
qdataurl: make parsing the content-type more robust
Don't assume `charset` is the first parameter. The parameters
(attribute=value pairs) are delemited by a `;`. The order of the
parameters isn't specified, (except for `;base64` which is the last
one).
Add more tests. Add a test for image/png (.png file copied from
src/widgets/styles/images/arrow-down-16.png).
Change-Id: Ie3e45c607c093695d0c180e9a9783b2b02d7ef70
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/android/androidcontentfileengine.cpp')
0 files changed, 0 insertions, 0 deletions
