mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-26 18:31:14 +00:00
Wrong validation introduced in r15989 (#24283).
git-svn-id: http://svn.redmine.org/redmine/trunk@15991 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c586449eb3
commit
42e6568552
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user