matrix-org / matrix-org/matrix-viewer
CloudFlare email protection
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 84
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Is it intentional that it obscures phrases that look like email addresses (visible when JavaScript is disabled)? Presumably also happening with Fediverse accounts, root prompts, etc.
* https://archive.matrix.org/r/securemessagingapps:matrix.org/date/2023/04/10T22:22?at=$R1-F8XOD4IWi3aiOQEKxyj-Jtn2k05WPjwCqfwzyQ7Q
```
.
💬 (k) Hello from xmpp:[email protected]
```
```
{
"content": {
"body": "💬 (k) Hello from xmpp:secuchart@conference.movim.eu",
"format": "org.matrix.custom.html",
"formatted_body": "💬 (k) Hello from xmpp:secuchart@conference.movim.eu",
"msgtype": "m.text"
},
"origin_server_ts": 1681141556603,
"room_id": "!sOLQNHloevPHIEWcYN:matrix.org",
"sender": "@fikabot:matrix.org",
"type": "m.room.message",
"unsigned": {
"age": 4338869075
},
"event_id": "$R1-F8XOD4IWi3aiOQEKxyj-Jtn2k05WPjwCqfwzyQ7Q",
"user_id": "@fikabot:matrix.org",
"age": 4338869075
}
```

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the linked archive example with JavaScript disabled and inspect how the viewer and its Cloudflare setup handle email-like addresses. Done means determining whether the obfuscation is intentional and documenting or correcting the behavior for email, Fediverse, and XMPP-style addresses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100