Skip to content

Commit 2655f57

Browse files
MMoresciyoshi
authored andcommitted
Quick fix for SSLv3 vulnerability (fallback to SSLv2)
Fixes #21
1 parent 79f917f commit 2655f57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/redmine_slack/listener.rb

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def speak(msg, channel, attachment=nil, url=nil)
7272

7373
client = HTTPClient.new
7474
client.ssl_config.cert_store.set_default_paths
75+
client.ssl_config.ssl_version = "SSLv23"
7576
client.post url, {:payload => params.to_json}
7677
end
7778

0 commit comments

Comments
 (0)