مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
When Net::HTTP::Post is being instantiated only the uri.path was being passed (#924)
fixed bug causing webhook not to trigger unless query params were present
هذا الالتزام موجود في:
@@ -15,7 +15,7 @@ module Postal
|
||||
def self.request(method, url, options = {})
|
||||
options[:headers] ||= {}
|
||||
uri = URI.parse(url)
|
||||
request = method.new(uri.path.length == 0 ? "/" : uri.path)
|
||||
request = method.new((uri.path.length == 0 ? "/" : uri.path) + (uri.query ? "?" + uri.query : ""))
|
||||
options[:headers].each { |k,v| request.add_field k, v }
|
||||
|
||||
if options[:username] || uri.user
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم