Skip to content

Commit cd070ea

Browse files
committed
fix(target ticket): quote escaping for ticket title
1 parent a9798d2 commit cd070ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/targetticket.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ public function save(PluginFormcreatorForm_Answer $formanswer) {
11071107
// Parse data
11081108
// TODO: generate instances of all answers of the form and use them for the fullform computation
11091109
// and the computation from a admin-defined target ticket template
1110-
$data['name'] = $this->fields['name'];
1110+
$data['name'] = addslashes($this->fields['name']);
11111111
$data['name'] = $this->parseTags($data['name'], $formanswer);
11121112

11131113
$data['content'] = addslashes($this->fields['comment']);

0 commit comments

Comments
 (0)