Fixed validation when there are multiple slashes in string
Merge pull request #11 from maxmind/greg/double-mask-fix

Fixed validation when there are multiple slashes in string