mirror of
https://github.com/redmine/redmine.git
synced 2026-03-05 03:51:38 +01: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user