Project

General

Profile

Actions

Defect #10277

closed

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

Defect #10277: Redmine wikitext URL-into-link creation with hyphen is wrong

Added by Fares Abdullah almost 15 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Category:
Text formatting
Target version:
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".

Updated by Fares Abdullah almost 15 years ago Actions #1

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".

Updated by fangzheng (方正) almost 15 years ago Actions #2

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 ;)

Updated by Etienne Massip almost 15 years ago Actions #3

  • 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

Updated by fangzheng (方正) almost 15 years ago Actions #4

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

Updated by Jean-Philippe Lang almost 14 years ago Actions #5

  • 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.

Updated by Jean-Philippe Lang over 13 years ago Actions #6

  • Status changed from Resolved to Closed

Merged.

Actions

Also available in: PDF Atom