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

[Bug]: The “Report Abuse” links to https://www.nuget.org for the deprecated package from source “apidev.nugettest.org” #11244

Closed
v-longmin opened this issue Sep 17, 2021 · 1 comment
Labels

Comments

@v-longmin
Copy link

NuGet Product Used

Visual Studio Package Management UI

Product Version

Dev\6.0.0.252

Worked before?

No response

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Details about problem

VS Version: Main\31716.326
OS Version: Windows-11-Enterprise-preview

Installations

  1. Install VS Main\31716.326 from: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5215765&view=results
  2. Install NuGet Client Dev\6.0.0.252 from:
    https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5216452&view=results

Steps to reproduce

  1. Create a new C# Console Application (.Net Core) project.
  2. Add a deprecated package source: https://apidev.nugettest.org/v3-index/index.json
  3. Search the deprecated package (e.g. afine).
  4. Observe the “Report Abuse” link on the right panel.

Expected

The “Report Abuse” should link to https://apidev.nugettest.org.

Actual

The “Report Abuse” links to https://www.nuget.org incorrectly.
image

Note

It is not a regression.

Verbose Logs

No response

@donnie-msft
Copy link
Contributor

This is known behavior, see Note at https://docs.microsoft.com/en-us/nuget/api/overview#resources-and-schema.

When ReportAbuseUriTemplate is not implemented, the official NuGet client falls back to nuget.org's report abuse URL (tracked by #4924). Other clients may opt to simply not show a report abuse URL to the user.

@donnie-msft donnie-msft added the Resolution:ByDesign This issue appears to be ByDesign label Sep 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants