diff options
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2025-12-09 07:39:32 +0100 |
|---|---|---|
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> | 2025-12-15 11:08:17 +0100 |
| commit | 1f35339b03fcb8787028e1301012a559328815fb (patch) | |
| tree | 67f15e459bf3f5a253be9c928b5b4f7486959fbd /tests | |
| parent | 2809f46505a4882b5125ff657125dea6d0af38ab (diff) | |
VectorImage: Sanitize source string used in output6.10
Source string is used as object name in output, so we sanitize
it to make sure it does not contain illegal characters. SVG already
mandates a limited character set here, but rather than trust the
parser we sanitize before passing to the generator like the Lottie
visitor does.
Fixes: QTBUG-142556
Pick-to: 6.8
Change-Id: I0684e726ab69a0735dcb5f91369b090d58a90b7b
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit cfc3e783fed4e876c2c29d008b5ef43c547b16b7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit ce82a78b0d10703f9b172f9afeb3d5e832e05074)
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
