Closed akien-mga closed 6 years ago
Recently I've had several edits where people put a GitHub or GitLab URL ending in .git, e.g. https://godotengine.org/asset-library/asset/edit/786
.git
This is valid for the URL itself (redirects to the same URL without the .git ending), but it generates an invalid download link for the zip. So it would better to prevent submitting an asset with this .git URL, or to strip it automatically.
Bump, it's pretty tiresome to have to handle this manually when validating an asset with a wrong URL.
(forgot to mention in the commit) fixed by 1672826e19aa4a0c80d3340162b2981ed34e75dd.
Recently I've had several edits where people put a GitHub or GitLab URL ending in
.git
, e.g. https://godotengine.org/asset-library/asset/edit/786This is valid for the URL itself (redirects to the same URL without the
.git
ending), but it generates an invalid download link for the zip. So it would better to prevent submitting an asset with this.git
URL, or to strip it automatically.