Fixed bug: JPRS, jp domain parser's empty-record bug #60

wants to merge 1 commit into


None yet
2 participants

syonbori commented Nov 20, 2010

Hello weppos.

I found a bug about JPRS, jp domain parser in, which
does not treat lacking-record and empty-records, such as

[Created on]

[Expires on]

lines. This means the entry is empty, but current code returns the
current time, Time.parse("").

I found the miss in the regular expressions in the,
so fixed it and add some test codes and fixtures.

JPRS often answers lacking "created_on" or "expires_on".
for example, "" does not contain both.
"" is also lacking.

using my patch, those bugs are fixed.
Of course, "rake test" is passed.

fix JPRS jp domain parser's bug. is used if there's white-spaced entry in response. fixed it to be nil.

weppos commented Nov 20, 2010

Update CHANGELOG (closed by 653befe)


weppos commented Nov 20, 2010

Thank you very much, your patch is a perfect example of contribution.
I merged it and released Whois 1.6.3.

This issue was closed.

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