now supports all sorts of relative and absolute URLs