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

Valid IP in request support #13

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

Conversation

okdas
Copy link

@okdas okdas commented Nov 6, 2013

Maybe I did something wrong, but I needed to change that.

@josephwegner
Copy link
Owner

Hi @okdas -

It looks like the code you added is to check for a IP address route part. Looking at the code, it would appear that you're checking if it's a valid IP address by running it against a regexp.

Simple API actually already has a route part type for RegExp matching. Check out the syntax in the README.

Let me know if you have any other issues.

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.

2 participants