Defect #29172

Markdown: External links broken

Added by Nikita Remizov about 4 years ago. Updated about 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Resolution:Wont fix Affected version:3.2.3


markdown.png (104 KB) Marius BALTEANU, 2021-08-12 22:43

commonmark.png (33.8 KB) Marius BALTEANU, 2021-08-12 22:43

Related issues

Related to Redmine - Feature #32424: CommonMark Markdown Text Formatting Closed


#1 Updated by Nikita Remizov about 4 years ago

Probably related with Defect #22967

#3 Updated by Nikita Remizov about 4 years ago

One more example of broken link: [Letters](кол-во) - so any no latin letter broke link.

#4 Updated by Holger Just about 4 years ago

URIs are defined in RFC 3986 to be allowed to only contain a defined subset of ASCII characters. All other characters must be encoded.

Browsers often perform this automatically. Thus, when you enter the checkmark character in your browser's address bar, it encodes the character to %E2%9C%93 before it is sent to the server. This is the canonical URI representation. Redmine now needs to ensure at various places that some URIs are valid. It does this by attempting to parse the URI according to the rules of RFC 3986. In the case of "special" or cyrillic characters, this fails since these characters are not allowed in a valid URI verbatim.

As a workaround, you need to ensure that URIs are properly encoded when entering them in Redmine. Many browsers, including Chrome and Firefox automatically copy an encoded URL to your clipboard when copying a URL from the address bar which you can use for this purpose.

#5 Updated by Jan from Planio almost 3 years ago

  • Related to Feature #32424: CommonMark Markdown Text Formatting added

#6 Updated by Marius BALTEANU about 1 year ago

I'm closing this as "Won't fix" because the new CommonMark formatter available in Redmine 5.0.0 (#32424) correctly renders the links. The current Markdown implementation based on RedCarpet is going to be dropped in the future versions. Migrating to the new CommonMark Markdown (Github Flavoured) engine is recommended.

Current Markdown:

CommonMark Markdon:

Also available in: Atom PDF