Project

General

Profile

Actions

Defect #19323

closed

Incorrect links generated in emails if host setup uses other port (":" symbol)

Added by Eugene B over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Email notifications
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

We were using 2.4.1 Bitnami installation for about a year with no problems. After 3.0.0 release we have switched to this new version to be sure we are using current Redmine branch, and our installation is not so outdated. We are using Bitnami 3.0.0 installer for windows platforms.

We have found a problem, that email links to task, that redmine provides within email body are broken. Our Redmine installation is availble on the address: http://10.0.0.1:81/redmine/ and according to this, at redmine settings, host is set as "10.0.0.1:81/redmine/"

But at the e-mail, link is the following: "http://10.0.0.1/issues/2460" while it should be "http://10.0.0.1:81/redmine/issues/2460" we have double checked, and we have found, that after ":" symbol at the host line, the rest is cut off and not included at the hyperlink.

When host setting was "10.0.0.1/redmine" the hyptrlink was "http://10.0.0.1/redmine/issues/2460" the only missing thing was the port. after we set host again with port, we got the link "http://10.0.0.1/issues/2460" again. So it seems redmine ignores the rest of the host address string after ":" symbol.


Related issues

Related to Redmine - Defect #20192: IssueLink in email notification contains SUB-URI part twiceNeeds feedback

Actions
Has duplicate Redmine - Defect #19611: Hostname with port via colon gets shrinked in e-mail notificationsClosed

Actions
Actions

Also available in: Atom PDF