Defect #23841

Custom field URL spaces not decoded properly

Added by Jake Kemme 6 months ago. Updated 6 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Custom fields
Target version:3.1.7
Resolution:Fixed Affected version:3.3.0

Description

Custom field link Urls with spaces (%20) are not properly decoded when url is generated as hyperlink

Generated URL contains %2520 (it escaped the %):

  Redmine version                3.3.0.stable.15581
  Ruby version                   2.0.0-p353 (2013-11-22) [i686-linux]
  Rails version                  4.2.6

The entire URL should not be encoded. This is related to #23067

customFieldURL.PNG (3.48 KB) Jake Kemme, 2016-09-15 21:34

CustomFieldOnIssueURL.png (5.88 KB) Jake Kemme, 2016-09-15 21:38


Related issues

Related to Redmine - Defect #23067: Custom field List Link values to URL breaks on entries wi... Closed

Associated revisions

Revision 15846
Added by Jean-Philippe Lang 6 months ago

Encode values, not full URL (#23841).

History

#1 Updated by Toshi MARUYAMA 6 months ago

  • Related to Defect #23067: Custom field List Link values to URL breaks on entries with spaces added

#2 Updated by Toshi MARUYAMA 6 months ago

  • Target version set to 3.1.7

#3 Updated by Jean-Philippe Lang 6 months ago

  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r15846, thanks for pointing this out.

#4 Updated by Jean-Philippe Lang 6 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF