We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87768f6 commit 4edb663Copy full SHA for 4edb663
Nodejs/Product/Npm/IPackageCatalog.cs
@@ -50,8 +50,7 @@ public async Task<IEnumerable<IPackage>> GetCatalogPackagesAsync(string filterTe
50
51
// All exceptions thrown here and in the called methods are handled by the
52
// NPM search dialog, so we don't have to do any exception handling here.
53
-
54
- var relativeUri = string.Format("/-/v1/search?text={0}", filterText);
+ var relativeUri = string.Format("/-/v1/search?text={0}", WebUtility.UrlEncode(filterText));
55
var searchUri = new Uri(defaultRegistryUri, relativeUri);
56
57
var request = WebRequest.Create(searchUri);
0 commit comments