Issue #1139: When PhenoTips is configured for ultra short URLs, links to the homepage become links to the current document
Fixed