Remove credentials from remote URL retrieved from git config
In the event the content source is a local git repository, Antora attempts to resolve the remote URL by consulting the git config (path: remote.origin.url
). This value is then use to assign the src.origin.url property in the file model, and is also used to assign the page-origin-url AsciiDoc attribute. Currently, the embedded credentials are not cleaned from this value. They should be removed to prevent them from being leaked.
Edited by Dan Allen