I also wonder if s/URL/PATH/g would make more sense here.