Validator of MySQL's "host" field #521

Merged
merged 1 commit into from Feb 4, 2012

Conversation

Projects
None yet
2 participants
@neil-rubens
Contributor

neil-rubens commented Feb 3, 2012

for the MySQL's "host" field
original validator (HOST_NAME_OR_IP_ADDRESS) does not seem to allow DNS hostnames;
e.g. address of MySQL hosted by Amazon's RDS service: db3.c32l4fl.ap-northeast-1.rds.amazonaws.com
gives an error: "Too many parts in IP address ..."

Fixed it by using the REQUIRE_NON_EMPTY_STRING validator instead.

for the MySQL's "host" field
original validator (HOST_NAME_OR_IP_ADDRESS) does not seem allow DNS hostnames; 
e.g. address of MySQL hosted by Amazon's RDS service: db3.c32l4fl.ap-northeast-1.rds.amazonaws.com 

Fixed it by using the REQUIRE_NON_EMPTY_STRING validator

@ghost ghost assigned mbastian Feb 4, 2012

mbastian added a commit that referenced this pull request Feb 4, 2012

Merge pull request #521 from neil-rubens/patch-1
Validator of MySQL's "host" field.

@mbastian mbastian merged commit c7a3440 into gephi:master Feb 4, 2012

@mbastian

This comment has been minimized.

Show comment Hide comment
@mbastian

mbastian Feb 4, 2012

Member

Thanks Neil, that make sense to me.

Member

mbastian commented Feb 4, 2012

Thanks Neil, that make sense to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment