Skip to content

Commit

Permalink
Avoid stored XSS in task external link
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jun 3, 2023
1 parent c20be8f commit 05f1d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Template/board/tooltip_external_links.php
Expand Up @@ -11,7 +11,7 @@
<?= $link['type'] ?>
</td>
<td>
<a href="<?= $link['url'] ?>" title="<?= $this->text->e($link['url']) ?>" target="_blank"><?= $this->text->e($link['title']) ?></a>
<a href="<?= $this->text->e($link['url']) ?>" title="<?= $this->text->e($link['url']) ?>" target="_blank"><?= $this->text->e($link['title']) ?></a>
</td>
<td>
<?= $this->text->e($link['dependency_label']) ?>
Expand Down
2 changes: 1 addition & 1 deletion app/Template/task_external_link/table.php
Expand Up @@ -29,7 +29,7 @@
<?= $this->text->e($link['type']) ?>
</td>
<td>
<a href="<?= $link['url'] ?>" title="<?= $this->text->e($link['url']) ?>" target="_blank"><?= $this->text->e($link['title']) ?><span class="ui-helper-hidden-accessible"> (<?= $this->text->e($link['url']) ?>)</span></a>
<a href="<?= $this->text->e($link['url']) ?>" title="<?= $this->text->e($link['url']) ?>" target="_blank"><?= $this->text->e($link['title']) ?><span class="ui-helper-hidden-accessible"> (<?= $this->text->e($link['url']) ?>)</span></a>
</td>
<td>
<?= $this->text->e($link['dependency_label']) ?>
Expand Down

0 comments on commit 05f1d23

Please sign in to comment.