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

Support better port input validation (ie. functions) #4

Closed
bmeck opened this issue Jun 27, 2011 · 0 comments
Closed

Support better port input validation (ie. functions) #4

bmeck opened this issue Jun 27, 2011 · 0 comments
Assignees

Comments

@bmeck
Copy link
Member

bmeck commented Jun 27, 2011

related : nodejitsu/jitsu#18

Basically you have to jump through hoops right now if there is a list of properties being added to an object and you need to use a function (in this case a http request) to test if something is valid. In this case we should allow validator to be a simple function that matches :

function myValidator ( newValue, next ) {
  next( isValid( newValue ) );
}
@ghost ghost assigned bmeck Jun 28, 2011
bmeck added a commit that referenced this issue Jun 28, 2011
…the control chars that sudo doesnt honor
@bmeck bmeck closed this as completed Jun 28, 2011
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

No branches or pull requests

1 participant