Fix for urlpath being ignored in publisher.