You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this is the correct repository for opening this issue.
I have verified no other issues exist related to my problem.
I have verified this is not an issue for a specific package.
I have verified this issue is not security related.
I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
When searching a NuGet v3 endpoints, the Chocolatey CLI query includes an empty query string q=.
What is Expected?
When there is no specific search, the query string should not be included at all. As defined in the NuGet Server API:
Name
In
Type
Required
Notes
q
URL
string
no
The search terms to used to filter packages
(emphasis mine)
How Did You Get This To Happen?
Add a NuGet v3 source to Chocolatey CLI.
Setup Fiddler to intercept the queries that are made by Chocolatey CLI to the source.
Run a choco search --source <SOURCE SETUP ABOVE>.
Look at the Fiddler traffic to see the queries being made from Chocolatey CLI.
NOTE: This was discovered on a call with @gep13 while looking at #3502 so is from memory. We used Sleet, as per the #3502 issue and saw the queries that were made, within the Sleet interface itself. So we didn't use Fiddler but I am assuming Fiddler will also show you the queries.
System Details
Operating System: Windows 10
Windows PowerShell version: PowerShell 5.1
Chocolatey CLI Version: 2.3.0
Chocolatey Licensed Extension version: None
Chocolatey License type: None
Terminal/Emulator: Windows PowerShell
Installed Packages
N/A
Output Log
N/A (sadly).
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Checklist
What You Are Seeing?
When searching a NuGet v3 endpoints, the Chocolatey CLI query includes an empty query string
q=
.What is Expected?
When there is no specific search, the query string should not be included at all. As defined in the NuGet Server API:
(emphasis mine)
How Did You Get This To Happen?
choco search --source <SOURCE SETUP ABOVE>
.NOTE: This was discovered on a call with @gep13 while looking at #3502 so is from memory. We used Sleet, as per the #3502 issue and saw the queries that were made, within the Sleet interface itself. So we didn't use Fiddler but I am assuming Fiddler will also show you the queries.
System Details
Installed Packages
Output Log
Additional Context
No response
The text was updated successfully, but these errors were encountered: