Fix/4.0.x/cal 560

Fix description: Only update url in case of intranet context in function getCalendarURL.