You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Verify that all strings are properly escaped (#5558)
- I checked every occurence of a '%2' and make correct use of the
QString::arg overload that takes several argument instead of chaining
them, because the first argument can contains a '%1'
- I tried to look for every label that they either use plain text or richtext
and escape the user provided strings in there.
Copy file name to clipboardexpand all lines: src/gui/accountsettings.ui
+9
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,9 @@
41
41
<propertyname="text">
42
42
<string>Connected with <server> as <user></string>
43
43
</property>
44
+
<propertyname="textFormat">
45
+
<enum>Qt::RichText</enum>
46
+
</property>
44
47
<propertyname="wordWrap">
45
48
<bool>true</bool>
46
49
</property>
@@ -75,6 +78,9 @@
75
78
<propertyname="text">
76
79
<string>Storage space: ...</string>
77
80
</property>
81
+
<propertyname="textFormat">
82
+
<enum>Qt::PlainText</enum>
83
+
</property>
78
84
<propertyname="wordWrap">
79
85
<bool>false</bool>
80
86
</property>
@@ -145,6 +151,9 @@
145
151
<propertyname="text">
146
152
<string>Unchecked folders will be <b>removed</b> from your local file system and will not be synchronized to this computer anymore</string>
0 commit comments