Fix absolute URLs not being generated when a scheme requirement is given