Project

General

Profile

Actions

Defect #8055

open

Links ending with curly brackets are not correctly interpreted

Added by Kevin Palm over 15 years ago. Updated 8 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Text formatting
Resolution:
Affected version:

Description

Links ending with curly brackets are not correctly interpreted:
Example:
http://www.abc.com/viewdetails.aspx?reqid={88991511-FC0F-4923-AF00-5289367A596A}
or
Link}

Notice that this problem only occurs if the link is ending with a curly bracket, not if the curly bracked is in the middle of the link:
http://www.abc.com/viewdetails.aspx?reqid={88991511-FC0F-4923-AF00-5289367A596A}&abc=1


Related issues

Related to Redmine - Patch #12077: Links ending with non-english letters don't parse completelyClosedActions
Related to Redmine - Feature #6269: RedCloth 4 supportNewActions
Actions #1

Updated by Etienne Massip over 15 years ago

  • Target version set to Candidate for next minor release
Actions #2

Updated by Filou Centrinov over 13 years ago

For me it sees to be a "RedCloth issue", because it's also not working like this: Link}

Supported in RedCloth 4. More about RedCloth 4: #6269

Actions #3

Updated by Philippe Cloutier 8 days ago

Thank you for reporting Kevin Palm and thank you Filou

I recommend expanding scope, since, as reported in tickets #5736 and #35309, this affects other characters too. I suggest retitling to:

Broken links for URLs ending in “$” (dollar), “&” (ampersand), # (hash) or “?" (question mark). (RedCloth excludes last character from hyperlink targets)

For ampersands, something is extra wrong. http://example.org& shows as http://example.orgx%x%. Basically, the ampersands becomes x%x% This is surely related to the fact that RedCloth renders x%x% as “&”.

I recommend setting priority to High. I am a rare Redmine user, and hit the generalized form of this bug 3 times with 3 entirely different links in less than 2 person-days of usage.

This note (and any other I add to this ticket) is dedicated to the public domain (under the terms of the CC0 1.0).

Actions #4

Updated by Philippe Cloutier 8 days ago

Philippe Cloutier wrote in #note-3:

For ampersands, something is extra wrong. http://example.org& shows as http://example.orgx%x%. Basically, the ampersands becomes x%x% This is surely related to the fact that RedCloth renders x%x% as “&”.

Ah, see ticket #29681 on that

Actions

Also available in: Atom PDF