Skip to content

Commit 5625282

Browse files
committed
Disable ExecUtil tests. Mention wrapToken probably isn't hardened.
1 parent f83d382 commit 5625282

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package/contents/ui/lib/ExecUtil.qml

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ PlasmaCore.DataSource {
2929

3030
property var listeners: ({}) // Empty Map
3131

32-
// Note that this is not tested.
32+
// Note that this has not gone under a security audit.
33+
// You probably shouldn't trust 3rd party input.
3334
function wrapToken(token) {
3435
token = "" + token
3536
// ' => '"'"' to escape the single quotes
@@ -67,5 +68,5 @@ PlasmaCore.DataSource {
6768
exec(['notify-send', 'test', '\'; notify-send escape3;\''])
6869
exec(['notify-send', 'test', '\\\'; notify-send escape4;\\\''])
6970
}
70-
Component.onCompleted: test()
71+
// Component.onCompleted: test()
7172
}

0 commit comments

Comments
 (0)