The following changes since commit 111ceaa651dea6a6c82555e8e7f0fcfb2b18fbfb:
backport: handle non-exceptions in `panic` (2026-03-26 11:42:34 -0400)
are available in the Git repository at:
https://gitlab.com/phdavis1027/sgx-bwmsgsv2.git 7658ce847544ccb59c6ccd4ce9f9717d5582a75e
for you to fetch changes up to 7658ce847544ccb59c6ccd4ce9f9717d5582a75e:
URI.parse all the things (2026-03-28 11:43:25 -0400)
----------------------------------------------------------------
Phillip Davis (2):
explicitly verify_peer in `call_catapult`
URI.parse all the things
sgx-bwmsgsv2.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -365,7 +365,7 @@ module SGXbwmsgsv2
end
EM::HttpRequest.new(
- url_prefix + pth
+ URI.parse(url_prefix + pth), tls: {verify_peer: true}
).public_send(
"a#{m}",
head: {
@@ -409,7 +409,7 @@ module SGXbwmsgsv2
return to_catapult(s, nil, num_dest, user_id, token, secret, usern)
end
- EM::HttpRequest.new(un.text, tls: {verify_peer: true}).ahead.then { |http|
+ EM::HttpRequest.new(URI.parse(un.text), tls: {verify_peer: true}).ahead.then { |http|
# If content is too large, or MIME type is not supported, place the link inside the body and do not send MMS.
if http.response_header["CONTENT_LENGTH"].to_i > 3500000 ||
!MMS_MIME_TYPES.include?(http.response_header["CONTENT_TYPE"])