مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-11-30 21:32:30 +00:00
missing equals sign in webhook url validation (#483)
هذا الالتزام موجود في:
@@ -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) }
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم