twilio-rs
twilio-rs copied to clipboard
Custom SSL port not supported
This is from a support thread with Twilio. I've cut the irrelevant parts.
=========
Jun 14, 2023, 1:48 PM PDT
Note that we do keep the port (if any) in the URL when computing the signature, so that does seem to be missing functionality / incorrect / a bug in that Rust code you shared. Unfortunately my team doesn't currently have enough familiarity with Rust to suggest a code change to add handling of the port property of the URL. Let me know if you have other questions and if there's more I can do to help, Max T Developer Support Twilio Inc. https://twilio.com/help
=======
Anyway, the assignment at line 58 needs a bit more work. The "official" algorithm (in my case their PHP version) computes the url with and without the port, apparently to compensate for a bug on Twilio's side.