Enh: Decreased OEmbed url max length 180chars (acs-ferreira)

This commit is contained in:
Lucas Bartholemy 2017-03-16 19:11:06 +01:00
parent f243a15984
commit 01e7f690a1
2 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@ HumHub Change Log
- Enh: Added new controller init event
- Enh: Made admin base controller method "getAccessRules()" non static
- Enh: Created new ImageController for user image and banner handling
- Enh: Decreased OEmbed url max length 180chars (acs-ferreira)
1.2.0-beta.2 (February 24, 2017)
--------------------------------

View File

@ -30,7 +30,7 @@ class UrlOembed extends \yii\db\ActiveRecord
return [
[['url', 'preview'], 'required'],
[['preview'], 'string'],
[['url'], 'string', 'max' => 255]
[['url'], 'string', 'max' => 180]
];
}