Skip to content

Commit

Permalink
Merge pull request #749 from RocketChat/bugfix-727
Browse files Browse the repository at this point in the history
Allow invalid ssl certs.  IE self signed on oembed fetch
  • Loading branch information
engelgabriel committed Sep 10, 2015
2 parents 8fdb3db + 964b367 commit e26ae75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/rocketchat-oembed/server/server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ getUrlContent = (urlObj, redirectCount = 5, callback) ->
port: urlObj.port
hostname: urlObj.hostname
path: urlObj.path
rejectUnauthorized: false

httpOrHttps = if urlObj.protocol is 'https:' then https else http

Expand Down

0 comments on commit e26ae75

Please sign in to comment.