diff options
Diffstat (limited to 'app/models/generic_commit_status.rb')
-rw-r--r-- | app/models/generic_commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/generic_commit_status.rb b/app/models/generic_commit_status.rb index 3028bf21301..8a768b3a2c0 100644 --- a/app/models/generic_commit_status.rb +++ b/app/models/generic_commit_status.rb @@ -3,7 +3,7 @@ class GenericCommitStatus < CommitStatus before_validation :set_default_values - validates :target_url, url: true, + validates :target_url, addressable_url: true, length: { maximum: 255 }, allow_nil: true |