matrix-org / matrix-org/matrix-viewer

CloudFlare email protection

Open
#250 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-archive-room-view T-Other
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
}
```

![archive matrix org_issues_250_Cloudflare_email_protected](https://github.com/matrix-org/matrix-public-archive/assets/818763/772224a9-380d-4a53-8921-c867f7062719)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.