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

Updates URL regex to make : and @ optional #9

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

Conversation

cannikin
Copy link

With the regex as it currently stands, having a : and @ are required in your shop name. I've never seen a username/password used as part of a shop name so I'm not sure why it would be required here. The examples in the README don't use it and when you try them you just get errors from ActiveResource: fakeweb doesn't capture the request (because the URL doesn't match) and it tries to go out to the internet for real. See issue #7 for the errors I was seeing.

By making the : and @ optional, the examples work just fine, but current shop names that happen to contain a username/password will continue to work.

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

1 participant