this should be handled by ``path_to_url``, e.g. if should check if the base part is correct so it doesn't dup this (and change the default to ``base_url=None``; in which case ``path_to_url`` will add it