diff options
| author | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-12-02 15:02:19 +0100 |
|---|---|---|
| committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2024-12-02 20:32:04 +0100 |
| commit | 9cb0d48aae81c5436bda783b64721d0b77bc3f6c (patch) | |
| tree | 900f427944f0a660debe662b51eda5c957c765f7 /src/gui/doc/snippets/code | |
| parent | 5e288c513bb6e701b5da0f02368ead6e354ca14a (diff) | |
CMake: Fix unescaped path MATCH condition in QtPublicSbomHelpers
Use string(FIND) instead of if(MATCH) since paths containing special
regex symbols like "+", can either cause an invalid MATCH result or it
can lead to regex compilation errors like
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
Amends 6e7f871edfd35174b40c7eb7386282bfe019f276
Pick-to: 6.8
Fixes: QTBUG-131782
Task-number: QTBUG-122899
Task-number: QTBUG-130557
Change-Id: I59a2c3e4fe2431303c7cbca8fd54360f254da90f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
