Defect #13352
closed
Broken links in incoming emails
Added by Pavel Lautsevich over 11 years ago.
Updated over 11 years ago.
Category:
Email notifications
Description
With this configuration:
Administration > Settings > Host name and path > http://redmine.mydomain.com
An e-mail link on the task is broken:
http://http//redmine.lovata.com/issues/1578#change-5433
With this configuration:
Administration > Settings > Host name and path > redmine.mydomain.com
Link comes without specifying the protocol:
redmine.lovata.com/issues/1578#change-5433
Try this in Redmine 2.3 and store your host without any protocol like this: redmine.mydomain.com
- Status changed from New to Needs feedback
Hi,
@Filou: He already tested this with quote 3 and 4.
pavel ochman: This is not a Redmine related issue.
Here is the explanation:
- Use Host name just for the domain itself, don't include the protocol.
- Use the protocol pulldown for the definition of one of the supported protocols.
The error you encouter is a browser based error. I tried it myself.
- Defining the domain + selecting a protocol (http)
Everything works as expected, but the browser won't display the http in the tooltip as this is it's default protocol. The HTML contain the http.
- Defining the domain + selecting a protocol (https)
Everything works as expected. This time the https is displayed, as https won't be its default protocol. The code containts HTTPS.
- Defining the domain with protol + selecting a protocol
This time your described error occurs. The code contains to time http://http://, but the browser will parse the second : in the tooltip. After clicking on this link, the browser will behave like your described case.
Follow my instructions written above and this should be fixed. :-)
Can I close this issue, as everything is clarified?
Best regards,
Daniel
Provided a small patch: #13763
Thank for your help Daniel! Yes, you can close this report.
- Status changed from Needs feedback to Closed
- Resolution set to Invalid
Thanks for the fast feedback.
Also available in: Atom
PDF