Commit e854842b authored by jplang's avatar jplang

Fixed thatinitialize_http_header overrides basic auth in rdm-mailhandler.rb (#13165).

Patch by Jean-Louis Fuchs.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0c942a18
......@@ -10,8 +10,8 @@ module Net
def self.post_form(url, params, headers, options={})
request =
request.form_data = params
request.basic_auth url.user, url.password if url.user
request.basic_auth url.user, url.password if url.user
http = new(, url.port)
http.use_ssl = (url.scheme == 'https')
if options[:no_check_certificate]
......@@ -23,7 +23,7 @@ module Net
class RedmineMailHandler
VERSION = '0.2'
VERSION = '0.2.1'
attr_accessor :verbose, :issue_attributes, :allow_override, :unknown_user, :no_permission_check, :url, :key, :no_check_certificate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment