WalletConnect / a2

An Asynchronous Apple Push Notification (apns2) Client for Rust
MIT License
136 stars 47 forks source link

Sending a payload with invalid uri chars panics #69

Closed soerenmeier closed 2 months ago

soerenmeier commented 1 year ago

If the device token get's set with invalid uri characters the call to send panics with:

thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: http::Error(InvalidUri(InvalidUriChar))', /home/soeren/.cargo/registry/src/index.crates.io-6f17d22bba15001f/a2-0.7.0/src/client.rs:169:36