Commit 28aa208
authored
Only hyperlink proper http urls (#481)
## Description
Security related
<!-- Provide a brief description of the changes in this PR -->
## Type of change
- [x] Bug fix
## Testing
Tested locally
<!-- ELLIPSIS_HIDDEN -->
----
> [!IMPORTANT]
> Fixes hyperlinking to only allow HTTP URLs in
`TokenAccountSection.tsx`.
>
> - **Behavior**:
> - In `TokenAccountSection.tsx`, only URLs starting with 'http' are
hyperlinked in the `TokenExtensionRows` function.
> - Non-HTTP URLs are displayed as plain text, preventing them from
being clickable.
>
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=solana-foundation%2Fexplorer&utm_source=github&utm_medium=referral)<sup>
for 95fcb7d. It will automatically
update as commits are pushed.</sup>
<!-- ELLIPSIS_HIDDEN -->1 parent 638c967 commit 28aa208
1 file changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
969 | 969 | | |
970 | 970 | | |
971 | 971 | | |
972 | | - | |
973 | | - | |
974 | | - | |
975 | | - | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
976 | 980 | | |
977 | 981 | | |
978 | 982 | | |
| |||
0 commit comments