From 31a2ca630ff9799e8114f60dc2b7ac4954e31796 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 30 Jul 2024 11:37:58 -0300 Subject: [PATCH] fix: soportar actores de micropub #16939 --- app/validators/url_validator.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/validators/url_validator.rb b/app/validators/url_validator.rb index 291f9288..8cfc5fcc 100644 --- a/app/validators/url_validator.rb +++ b/app/validators/url_validator.rb @@ -14,7 +14,6 @@ class UrlValidator < ActiveModel::EachValidator record.errors.add(attribute, :scheme_missing) if uri.scheme.blank? record.errors.add(attribute, :host_missing) if uri.host.blank? - record.errors.add(attribute, :path_missing) if uri.path.blank? rescue URI::Error record.errors.add(attribute, :invalid) end