Browse Source

Merged r11371 from trunk (#13165).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.2-stable@11593 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/2.2.4
Jean-Philippe Lang 11 years ago
parent
commit
4b010fb653
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      extra/mail_handler/rdm-mailhandler.rb

+ 2
- 2
extra/mail_handler/rdm-mailhandler.rb View File

def self.post_form(url, params, headers, options={}) def self.post_form(url, params, headers, options={})
request = Post.new(url.path) request = Post.new(url.path)
request.form_data = params request.form_data = params
request.basic_auth url.user, url.password if url.user
request.initialize_http_header(headers) request.initialize_http_header(headers)
request.basic_auth url.user, url.password if url.user
http = new(url.host, url.port) http = new(url.host, url.port)
http.use_ssl = (url.scheme == 'https') http.use_ssl = (url.scheme == 'https')
if options[:no_check_certificate] if options[:no_check_certificate]
end end


class RedmineMailHandler 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 attr_accessor :verbose, :issue_attributes, :allow_override, :unknown_user, :no_permission_check, :url, :key, :no_check_certificate



Loading…
Cancel
Save