apache / apache/ponymail

Wrong link highlighting

Open
#557 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
80
Forks
32
PR merge metrics
No merged PRs in 30d

Description

When the mail contains a plain text like this

`https://hc.apache.org/httpcomponents-client-4.5.x/current/fluent-hc/apidocs/org/apache/http/client/fluent/Executor.html#execute(org.apache.http.client.fluent.Request)`

the link is only rendered for the first part up to the `(` and also is pointing to a URI with the corrupt/shortened fragment part.

In general a URI does not end at the first "(" but should only end at the first character which is invalid for URIs (https://www.rfc-editor.org/rfc/rfc3986#section-2).

An incorrect link can for example be seen in https://lists.apache.org/thread/fymw1f33t7pct5qgh4qdrgc368nts9x1

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing Pony Mail’s plain-text mail rendering and URI linkification entry point, using the example URL and RFC 3986 section 2 as the behavioral reference. Done means the complete URI, including its fragment and parentheses, is linked without truncation or corruption, with coverage for this example if the existing rendering tests provide a place for it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.