PublishRepositoryUrl doesnt encode url (original) (raw)

There is no control over the encoding of the URL when publishing the repository url within the nuspec file.

<repository type="git" url="https://dev.azure.com/org/My Sample Project/_git/Org.Mediator" commit="{guid}" />

Notice the spaces in My Sample Project that should contain the properly encoded url https://dev.azure.com/org/My%20Sample%20Project