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

Fix: Wrong expiry date check + domain without info #9

Closed
wants to merge 1 commit into from
Closed

Fix: Wrong expiry date check + domain without info #9

wants to merge 1 commit into from

Conversation

allanviana-logcomex
Copy link
Contributor

Summary

Idk if there is a issue about this.
When I tried to solve this issue, I saw that maybe the PR #7 that tried to fix .br domains, was accepted even though it didn't work.

So I figure out that the problem is in the expiry date check, which does not check correctly when the variable was only initialized (in this case has a value less than 0).

Pay attention

This PR as it is, because how .br and .ua domains is trying to get expiry date. So maybe it's better to approve PR #8.

Checklist

  • Tested and/or added tests to validate that the changes work as intended, if applicable.
  • Updated documentation in README.md, if applicable.

@TwiN
Copy link
Owner

TwiN commented Jul 12, 2023

My bad, I already fixed the test with 9f68144

Still, after the change, the tests worked on #8 so 🙌

Thank you for your contribution!

@TwiN TwiN closed this Jul 12, 2023
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