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

Fix for positional argument not being case sensitive. #306

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alexswan10k
Copy link

Whilst uploading some mirrored packages, we came across some problems due to capitalization. It appears that the app does a compare of the object name (case sensitive) with the route parameter name (case insensitive), and thus will fail if packages have capital letters in their name.

The offending packages that raised the problem:
JSONStream
Base64

I have relaxed the check to be case insensitive, which seems to have fixed the problem.

@rlidwka
Copy link
Owner

rlidwka commented Sep 26, 2015

Route parameter name is case-sensitive.

Is there a way to reproduce this issue you encountered? How do you upload these packages?

@alexswan10k
Copy link
Author

This is simply done by cloning any repository with upper case characters, and then using npm publish:

npm publish --registry http://yourlocalregistry

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

Successfully merging this pull request may close these issues.

None yet

2 participants