مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
feat: allow @ and % in webhook urls
هذا الالتزام موجود في:
@@ -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) }
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم