Minor fix to support non-absolute URLs (although that could be dangerous)