diff --git a/program/lib/Roundcube/html.php b/program/lib/Roundcube/html.php
index 5fb066deb..9cdc97159 100644
--- a/program/lib/Roundcube/html.php
+++ b/program/lib/Roundcube/html.php
@@ -393,7 +393,7 @@ class html_inputfield extends html
'type','name','value','size','tabindex','autocapitalize','required',
'autocomplete','checked','onchange','onclick','disabled','readonly',
'spellcheck','results','maxlength','src','multiple','accept',
- 'placeholder','autofocus',
+ 'placeholder','autofocus','pattern'
);
/**