مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2026-01-17 13:39:46 +00:00
missing equals sign in webhook url validation (#483)
هذا الالتزام موجود في:
@@ -28,7 +28,7 @@ class Webhook < ApplicationRecord
|
|||||||
has_many :webhook_requests
|
has_many :webhook_requests
|
||||||
|
|
||||||
validates :name, :presence => true
|
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) }
|
scope :enabled, -> { where(:enabled => true) }
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم