accept also full URLs in reverse()