From 42e65685521d32c5cef1a2de426efb87a8d9f672 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 19 Nov 2016 13:24:56 +0000 Subject: [PATCH] Wrong validation introduced in r15989 (#24283). git-svn-id: http://svn.redmine.org/redmine/trunk@15991 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/wiki.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/wiki.rb b/app/models/wiki.rb index e629baf9b..b4cf76595 100644 --- a/app/models/wiki.rb +++ b/app/models/wiki.rb @@ -25,7 +25,7 @@ class Wiki < ActiveRecord::Base validates_presence_of :start_page validates_format_of :start_page, :with => /\A[^,\.\/\?\;\|\:]*\z/ - validates_length_of :title, maximum: 255 + validates_length_of :start_page, maximum: 255 attr_protected :id before_destroy :delete_redirects -- 2.39.5