Commit dca8c5d
authored
fix(amazonq): security: disable auto linkify of text links in chat #6449
## Problem
- Links incoming from Q responses can redirect to a vulnerable site
depending on the used context from the files.
## Solution
- Linkify strategy is updated to only accept links with `[TEXT](URL)`
format. (through MynahUI version
[4.21.6](https://github.com/aws/mynah-ui/releases/tag/v4.21.6))
MynahUI PR:
aws/mynah-ui#2261 parent bdbd8e8 commit dca8c5d
File tree
3 files changed
+9
-5
lines changed- packages
- amazonq/.changes/next-release
- core
3 files changed
+9
-5
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| |||
0 commit comments