forked from qt-creator/qt-creator
Wizards: Fix JSON of qtquick2-extension wizard
"\." is an invalid backslash escape sequence in JSON. QJSON accepts this though and silently "fixes" the string by removing the stray '\' character. This is QTBUG-78443 now, as a conforming JSON parser should reject invalid data. The string as "fixed" by QJSON is also not what we wanted in the first place. Change-Id: I070999957c6a0c3d0f1753d907ac460e9e341fc1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -55,7 +55,7 @@
|
|||||||
"type": "LineEdit",
|
"type": "LineEdit",
|
||||||
"data":
|
"data":
|
||||||
{
|
{
|
||||||
"validator": "^[A-Za-z0-9]+([A-Za-z0-9-]*[A-Za-z0-9]+)?(\.[A-Za-z0-9]+([-A-Za-z0-9]*[A-Za-z0-9]+)?)*$",
|
"validator": "^[A-Za-z0-9]+([A-Za-z0-9-]*[A-Za-z0-9]+)?(\\.[A-Za-z0-9]+([-A-Za-z0-9]*[A-Za-z0-9]+)?)*$",
|
||||||
"trText": "com.mycompany.qmlcomponents"
|
"trText": "com.mycompany.qmlcomponents"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user