Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Abuse URL is hardcoded to nuget.org #1787

Closed
xavierdecoster opened this issue Nov 26, 2015 · 2 comments
Closed

Report Abuse URL is hardcoded to nuget.org #1787

xavierdecoster opened this issue Nov 26, 2015 · 2 comments
Assignees
Milestone

Comments

@xavierdecoster
Copy link
Member

See ReportAbuseResourceV3 class:

public Uri GetReportAbuseUrl(string id, NuGetVersion version)
{
    return new Uri(String.Format(CultureInfo.InvariantCulture, "https://www.nuget.org/packages/{0}/{1}/ReportAbuse", id, version.ToNormalizedString()));
}
@kulov
Copy link

kulov commented May 16, 2017

The Report Abuse link is still hardcoded and does not work for private NuGet feeds hosted in VSTS.

@maartenba
Copy link
Contributor

maartenba commented May 16, 2017

Looks like that's because VSTS does not send this URL in their API. Works fine on MyGet. The client does do a falback to NuGet.org if server does not provide it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants