mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: strip webhook payload_url
This commit is contained in:
@@ -71,7 +71,7 @@ module Jobs
|
||||
end
|
||||
|
||||
def web_hook_request(args, web_hook)
|
||||
uri = URI(web_hook.payload_url)
|
||||
uri = URI(web_hook.payload_url.strip)
|
||||
|
||||
conn = Excon.new(
|
||||
uri.to_s,
|
||||
|
||||
Reference in New Issue
Block a user