Project

General

Profile

Actions

Defect #10277

closed

Redmine wikitext URL-into-link creation with hyphen is wrong

Added by Fares Abdullah about 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Text formatting
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Redmine 1.3.0

Typing test-www.example.com creates a link only for the "www.example.com" part, but the host is "test-www", and not "www".

Actions #1

Updated by Fares Abdullah about 12 years ago

I have to use <pre> to describe the above:

Typing test-www.example.com creates a link only for the "www.example.com" part, but the host is "test-www", and not "www".
Actions #2

Updated by fangzheng (方正) about 12 years ago

How about adding the prefix "http"?

That will create the link as:
http://test-www.example.com

Maybe the Text formatting is not that smart as we expect ;)

Actions #3

Updated by Etienne Massip about 12 years ago

  • Category set to Text formatting
  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release
  • Affected version (unused) set to 1.3.1
  • Affected version set to 1.3.1
Actions #4

Updated by fangzheng (方正) about 12 years ago

Maybe the "www" is the root cause?

See in below:

test@example.com
test@www.com


By the way, most URLs can not be recognized w/o "www" (and prefix).
e.g.
news.google.com

Actions #5

Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next minor release to 2.3.0
  • Resolution set to Fixed

Fixed in r11474. test-www.example.com will no longer generate a broken link. Use protocol (eg. http://) for URLs that does not start with www.

Actions #6

Updated by Jean-Philippe Lang about 11 years ago

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: Atom PDF