Issue Bug Closed

#19368config.absRefPrefix can force wrong URL when linking across domains

Dmitry Dulepov 09/23/08, 10:58 updated 10/29/08, 19:05

Description

Suppose you have two domains: example1.com and example2.com. absRefPrefix is set as “http://example2.com/” at the second domain. Now if you link to the first domain, you will still get http://example2.com/ instead of http://example1.com/ in the URL. The problem is that typolink does not add domain to the URL if domain is already set there. If linking across domains, new domain must be forced to the URL. The best way is to strip the absRefPrefix because it is valid for the current domain only anyway.

(issue imported from #M9412)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.