Project

General

Profile

Actions

Defect #29172

closed

Markdown: External links broken

Added by Nikita Remizov almost 6 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description


Files

markdown.png (104 KB) markdown.png Marius BĂLTEANU, 2021-08-12 22:43
commonmark.png (33.8 KB) commonmark.png Marius BĂLTEANU, 2021-08-12 22:43

Related issues

Related to Redmine - Feature #32424: CommonMark Markdown Text FormattingClosedMarius BĂLTEANU

Actions
Actions #1

Updated by Nikita Remizov almost 6 years ago

Probably related with Defect #22967

Actions #3

Updated by Nikita Remizov almost 6 years ago

One more example of broken link: [Letters](https://yandex.ru/search/?text=кол-во) - so any no latin letter broke link.

Actions #4

Updated by Holger Just almost 6 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.

Actions #5

Updated by Jan from Planio www.plan.io over 4 years ago

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

Updated by Marius BĂLTEANU over 2 years 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:

Actions

Also available in: Atom PDF