##// END OF EJS Templates
Fixed thatinitialize_http_header overrides basic auth in rdm-mailhandler.rb (#13165)....
Jean-Philippe Lang -
r11141:f77edce621c6
parent child
Show More
@@ -10,8 +10,8 module Net
10 10 def self.post_form(url, params, headers, options={})
11 11 request = Post.new(url.path)
12 12 request.form_data = params
13 request.basic_auth url.user, url.password if url.user
14 13 request.initialize_http_header(headers)
14 request.basic_auth url.user, url.password if url.user
15 15 http = new(url.host, url.port)
16 16 http.use_ssl = (url.scheme == 'https')
17 17 if options[:no_check_certificate]
@@ -23,7 +23,7 module Net
23 23 end
24 24
25 25 class RedmineMailHandler
26 VERSION = '0.2'
26 VERSION = '0.2.1'
27 27
28 28 attr_accessor :verbose, :issue_attributes, :allow_override, :unknown_user, :no_permission_check, :url, :key, :no_check_certificate
29 29
General Comments 0
You need to be logged in to leave comments. Login now