Skip to content

Commit 55530d9

Browse files
committed
fix(issue): prevent list of all issues in search engine
dropdown on name of issues give full access because the list is not filtered. Tooltip also gives access to the full content. This may disclose sensitive data to unauthorized persons
1 parent 09682e9 commit 55530d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inc/issue.class.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,10 @@ public function rawSearchOptions() {
526526
'field' => 'name',
527527
'name' => __('Name'),
528528
'datatype' => 'itemlink',
529+
'searchtype' => [
530+
'0' => 'contains',
531+
'1' => 'not contains',
532+
],
529533
'massiveaction' => false,
530534
'additionalfields' => [
531535
'0' => 'display_id'

0 commit comments

Comments
 (0)