1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

missing equals sign in webhook url validation (#483)

هذا الالتزام موجود في:
Will Power
2018-04-20 12:27:16 +01:00
ملتزم من قبل Adam Cooke
الأصل 15c6795a24
التزام b3456036c0

عرض الملف

@@ -28,7 +28,7 @@ class Webhook < ApplicationRecord
has_many :webhook_requests
validates :name, :presence => true
validates :url, :presence => true, :format => {:with => /\Ahttps?\:\/\/[a-z0-9\-\.\_\?\&\/\+:]+\z/i, :allow_blank => true}
validates :url, :presence => true, :format => {:with => /\Ahttps?\:\/\/[a-z0-9\-\.\_\?\=\&\/\+:]+\z/i, :allow_blank => true}
scope :enabled, -> { where(:enabled => true) }