Details
-
Type:
Bug
-
Status: New
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 3.7.0, 3.14.0
-
Fix Version/s: None
-
Labels:
-
Story Points:1
-
Epic Link:
-
Notability:4
Description
Searches using the Search UI and /v1/search and /v1/search/assets REST APIs always performs searches against the lowercased version of the npm metadata values. For example, package scope, and license names (MIT, ISC). The UI and the originally uploaded/downloaded package metadata may contain uppercased letters.
UI may show a package scope/group value of SONATYPE.
A search like this will NOT find that package:
However a search like this will find it:
Notes
NPM maintainers recommend that new package names ( and likewise scopes ) should preferably be lowercased to begin with, before they are published.
See notes here:
https://docs.npmjs.com/files/package.json
https://docs.npmjs.com/misc/scope
Some rules:
- New packages must not have uppercase letters in the name.
Expected
Searches against terms with case differences should be intuitive. Performing searches using exact case matches should find the exact case matched terms in the UI and REST API and any other "search".
Attachments
Issue Links
- relates
-
NEXUS-10238 PyPI: Search custom only finds results on lower case
-
- Closed
-