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
APNS (HTTP/2) certificate check doesn't happen #505
Comments
Thanks @shekhirin - sorry for the delayed response. It seems like you already have a proposed solution. Feel free to open a PR for this and I can facilitate getting the changes merged. |
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please leave another comment. This issue will be closed if no further activity occurs. |
This issue has been automatically marked as stale because it has not had recent activity. If this is still an issue, please leave another comment. This issue will be closed if no further activity occurs. |
Describe the bug
Some important validations in APNS2 are missed.
rpush/lib/rpush/client/active_model/apns/app.rb
Line 10 in 70b16a3
To Reproduce
Steps to reproduce the behavior:
app = Rpush::Apns::App.new
app.certificate = "wrong certificate"
app.save
Expected behavior
rpush/lib/rpush/client/active_model/apns/app.rb
Line 28 in 70b16a3
System configuration
Additional context
Validations are being executed in
self.included(base)
method ofRpush::Client::ActiveModel::Apns::App
module but it actually called with extend not include inRpush::Client::ActiveModel::Apns2::App
rpush/lib/rpush/client/active_model/apns2/app.rb
Line 6 in 70b16a3
The text was updated successfully, but these errors were encountered: