|
145 | 145 | 'validators' => array(0 => array('type' => 'NOTEMPTY', |
146 | 146 | 'errmsg' => 'nameservers_error_empty'), |
147 | 147 | ), |
| 148 | + 'filters' => array( |
| 149 | + 0 => array( 'event' => 'SAVE', |
| 150 | + 'type' => 'STRIPTAGS'), |
| 151 | + 1 => array( 'event' => 'SAVE', |
| 152 | + 'type' => 'STRIPNL') |
| 153 | + ), |
148 | 154 | 'value' => '', |
149 | 155 | 'width' => '40', |
150 | 156 | 'maxlength' => '255' |
|
316 | 322 | 'monit_user' => array( |
317 | 323 | 'datatype' => 'VARCHAR', |
318 | 324 | 'formtype' => 'TEXT', |
| 325 | + 'filters' => array( |
| 326 | + 0 => array( 'event' => 'SAVE', |
| 327 | + 'type' => 'STRIPTAGS'), |
| 328 | + 1 => array( 'event' => 'SAVE', |
| 329 | + 'type' => 'STRIPNL') |
| 330 | + ), |
319 | 331 | 'default' => '', |
320 | 332 | 'value' => '', |
321 | 333 | 'width' => '40', |
|
344 | 356 | 'munin_user' => array( |
345 | 357 | 'datatype' => 'VARCHAR', |
346 | 358 | 'formtype' => 'TEXT', |
| 359 | + 'filters' => array( |
| 360 | + 0 => array( 'event' => 'SAVE', |
| 361 | + 'type' => 'STRIPTAGS'), |
| 362 | + 1 => array( 'event' => 'SAVE', |
| 363 | + 'type' => 'STRIPNL') |
| 364 | + ), |
347 | 365 | 'default' => '', |
348 | 366 | 'value' => '', |
349 | 367 | 'width' => '40', |
|
426 | 444 | 'dkim_path' => array( |
427 | 445 | 'datatype' => 'VARCHAR', |
428 | 446 | 'formtype' => 'TEXT', |
| 447 | + 'filters' => array( |
| 448 | + 0 => array( 'event' => 'SAVE', |
| 449 | + 'type' => 'STRIPTAGS'), |
| 450 | + 1 => array( 'event' => 'SAVE', |
| 451 | + 'type' => 'STRIPNL') |
| 452 | + ), |
429 | 453 | 'default' => '/var/lib/amavis/dkim', |
430 | 454 | 'value' => '', |
431 | 455 | 'width' => '40', |
|
527 | 551 | 'relayhost' => array( |
528 | 552 | 'datatype' => 'VARCHAR', |
529 | 553 | 'formtype' => 'TEXT', |
| 554 | + 'filters' => array( |
| 555 | + 0 => array( 'event' => 'SAVE', |
| 556 | + 'type' => 'STRIPTAGS'), |
| 557 | + 1 => array( 'event' => 'SAVE', |
| 558 | + 'type' => 'STRIPNL') |
| 559 | + ), |
530 | 560 | 'default' => '', |
531 | 561 | 'value' => '', |
532 | 562 | 'width' => '40', |
|
535 | 565 | 'relayhost_user' => array( |
536 | 566 | 'datatype' => 'VARCHAR', |
537 | 567 | 'formtype' => 'TEXT', |
| 568 | + 'filters' => array( |
| 569 | + 0 => array( 'event' => 'SAVE', |
| 570 | + 'type' => 'STRIPTAGS'), |
| 571 | + 1 => array( 'event' => 'SAVE', |
| 572 | + 'type' => 'STRIPNL') |
| 573 | + ), |
538 | 574 | 'default' => '', |
539 | 575 | 'value' => '', |
540 | 576 | 'width' => '40', |
|
719 | 755 | 'website_autoalias' => array( |
720 | 756 | 'datatype' => 'VARCHAR', |
721 | 757 | 'formtype' => 'TEXT', |
| 758 | + 'filters' => array( |
| 759 | + 0 => array( 'event' => 'SAVE', |
| 760 | + 'type' => 'STRIPTAGS'), |
| 761 | + 1 => array( 'event' => 'SAVE', |
| 762 | + 'type' => 'STRIPNL') |
| 763 | + ), |
722 | 764 | 'default' => '', |
723 | 765 | 'value' => '', |
724 | 766 | 'width' => '40', |
|
1135 | 1177 | 'validators' => array( 0 => array('type' => 'NOTEMPTY', |
1136 | 1178 | 'errmsg' => 'htaccess_allow_override_error_empty'), |
1137 | 1179 | ), |
| 1180 | + 'filters' => array( |
| 1181 | + 0 => array( 'event' => 'SAVE', |
| 1182 | + 'type' => 'STRIPTAGS'), |
| 1183 | + 1 => array( 'event' => 'SAVE', |
| 1184 | + 'type' => 'STRIPNL') |
| 1185 | + ), |
1138 | 1186 | 'value' => '', |
1139 | 1187 | 'width' => '40', |
1140 | 1188 | 'maxlength' => '255' |
|
1161 | 1209 | 'validators' => array(0 => array('type' => 'NOTEMPTY', |
1162 | 1210 | 'errmsg' => 'apps_vhost_port_error_empty'), |
1163 | 1211 | ), |
| 1212 | + 'filters' => array( |
| 1213 | + 0 => array( 'event' => 'SAVE', |
| 1214 | + 'type' => 'STRIPTAGS'), |
| 1215 | + 1 => array( 'event' => 'SAVE', |
| 1216 | + 'type' => 'STRIPNL') |
| 1217 | + ), |
1164 | 1218 | 'value' => '', |
1165 | 1219 | 'width' => '40', |
1166 | 1220 | 'maxlength' => '255' |
|
1172 | 1226 | 'validators' => array(0 => array('type' => 'NOTEMPTY', |
1173 | 1227 | 'errmsg' => 'apps_vhost_ip_error_empty'), |
1174 | 1228 | ), |
| 1229 | + 'filters' => array( |
| 1230 | + 0 => array( 'event' => 'SAVE', |
| 1231 | + 'type' => 'STRIPTAGS'), |
| 1232 | + 1 => array( 'event' => 'SAVE', |
| 1233 | + 'type' => 'STRIPNL') |
| 1234 | + ), |
1175 | 1235 | 'value' => '', |
1176 | 1236 | 'width' => '40', |
1177 | 1237 | 'maxlength' => '255' |
1178 | 1238 | ), |
1179 | 1239 | 'apps_vhost_servername' => array( |
1180 | 1240 | 'datatype' => 'VARCHAR', |
1181 | 1241 | 'formtype' => 'TEXT', |
| 1242 | + 'filters' => array( |
| 1243 | + 0 => array( 'event' => 'SAVE', |
| 1244 | + 'type' => 'STRIPTAGS'), |
| 1245 | + 1 => array( 'event' => 'SAVE', |
| 1246 | + 'type' => 'STRIPNL') |
| 1247 | + ), |
1182 | 1248 | 'default' => '', |
1183 | 1249 | 'value' => '', |
1184 | 1250 | 'width' => '40', |
|
1187 | 1253 | 'awstats_conf_dir' => array( |
1188 | 1254 | 'datatype' => 'VARCHAR', |
1189 | 1255 | 'formtype' => 'TEXT', |
| 1256 | + 'filters' => array( |
| 1257 | + 0 => array( 'event' => 'SAVE', |
| 1258 | + 'type' => 'STRIPTAGS'), |
| 1259 | + 1 => array( 'event' => 'SAVE', |
| 1260 | + 'type' => 'STRIPNL') |
| 1261 | + ), |
1190 | 1262 | 'default' => '', |
1191 | 1263 | 'value' => '', |
1192 | 1264 | 'width' => '40', |
|
1486 | 1558 | 'xmpp_server_admins' => array( |
1487 | 1559 | 'datatype' => 'VARCHAR', |
1488 | 1560 | 'formtype' => 'TEXT', |
| 1561 | + 'filters' => array( |
| 1562 | + 0 => array( 'event' => 'SAVE', |
| 1563 | + 'type' => 'STRIPTAGS'), |
| 1564 | + 1 => array( 'event' => 'SAVE', |
| 1565 | + 'type' => 'STRIPNL') |
| 1566 | + ), |
1489 | 1567 | 'default' => 'admin@service.com, superuser@service.com', |
1490 | 1568 | 'value' => '', |
1491 | 1569 | 'width' => '15' |
|
1494 | 1572 | 'xmpp_modules_enabled' => array( |
1495 | 1573 | 'datatype' => 'TEXT', |
1496 | 1574 | 'formtype' => 'TEXT', |
| 1575 | + 'filters' => array( |
| 1576 | + 0 => array( 'event' => 'SAVE', |
| 1577 | + 'type' => 'STRIPTAGS'), |
| 1578 | + 1 => array( 'event' => 'SAVE', |
| 1579 | + 'type' => 'STRIPNL') |
| 1580 | + ), |
1497 | 1581 | 'default' => "saslauth, tls, dialback, disco, discoitems, version, uptime, time, ping, admin_adhoc, admin_telnet, bosh, posix, announce, offline, webpresence, mam, stream_management, message_carbons", |
1498 | 1582 | 'value' => '', |
1499 | 1583 | 'separator' => "," |
|
0 commit comments