I would fix the `getAbsoluteUri()` instead.