c195dbff939ca21cb1a7e48eba269261.yaml.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?php
  2. return [
  3. '@class' => 'Grav\\Common\\File\\CompiledYamlFile',
  4. 'filename' => '/home/kevin/Documents/Sites/anissabensalah.net/system/blueprints/config/security.yaml',
  5. 'modified' => 1544136609,
  6. 'data' => [
  7. 'title' => 'PLUGIN_ADMIN.SECURITY',
  8. 'form' => [
  9. 'validation' => 'loose',
  10. 'fields' => [
  11. 'xss_section' => [
  12. 'type' => 'section',
  13. 'title' => 'PLUGIN_ADMIN.XSS_SECURITY',
  14. 'underline' => true
  15. ],
  16. 'xss_whitelist' => [
  17. 'type' => 'selectize',
  18. 'size' => 'large',
  19. 'label' => 'PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS',
  20. 'help' => 'PLUGIN_ADMIN.XSS_WHITELIST_PERMISSIONS_HELP',
  21. 'placeholder' => 'admin.super',
  22. 'classes' => 'fancy',
  23. 'validate' => [
  24. 'type' => 'commalist'
  25. ]
  26. ],
  27. 'xss_enabled.on_events' => [
  28. 'type' => 'toggle',
  29. 'label' => 'PLUGIN_ADMIN.XSS_ON_EVENTS',
  30. 'highlight' => 1,
  31. 'options' => [
  32. 1 => 'PLUGIN_ADMIN.YES',
  33. 0 => 'PLUGIN_ADMIN.NO'
  34. ],
  35. 'default' => true,
  36. 'validate' => [
  37. 'type' => 'bool'
  38. ]
  39. ],
  40. 'xss_enabled.invalid_protocols' => [
  41. 'type' => 'toggle',
  42. 'label' => 'PLUGIN_ADMIN.XSS_INVALID_PROTOCOLS',
  43. 'highlight' => 1,
  44. 'options' => [
  45. 1 => 'PLUGIN_ADMIN.YES',
  46. 0 => 'PLUGIN_ADMIN.NO'
  47. ],
  48. 'default' => true,
  49. 'validate' => [
  50. 'type' => 'bool'
  51. ]
  52. ],
  53. 'xss_enabled.moz_binding' => [
  54. 'type' => 'toggle',
  55. 'label' => 'PLUGIN_ADMIN.XSS_MOZ_BINDINGS',
  56. 'highlight' => 1,
  57. 'options' => [
  58. 1 => 'PLUGIN_ADMIN.YES',
  59. 0 => 'PLUGIN_ADMIN.NO'
  60. ],
  61. 'default' => true,
  62. 'validate' => [
  63. 'type' => 'bool'
  64. ]
  65. ],
  66. 'xss_enabled.html_inline_styles' => [
  67. 'type' => 'toggle',
  68. 'label' => 'PLUGIN_ADMIN.XSS_HTML_INLINE_STYLES',
  69. 'highlight' => 1,
  70. 'options' => [
  71. 1 => 'PLUGIN_ADMIN.YES',
  72. 0 => 'PLUGIN_ADMIN.NO'
  73. ],
  74. 'default' => true,
  75. 'validate' => [
  76. 'type' => 'bool'
  77. ]
  78. ],
  79. 'xss_enabled.dangerous_tags' => [
  80. 'type' => 'toggle',
  81. 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS',
  82. 'highlight' => 1,
  83. 'options' => [
  84. 1 => 'PLUGIN_ADMIN.YES',
  85. 0 => 'PLUGIN_ADMIN.NO'
  86. ],
  87. 'default' => true,
  88. 'validate' => [
  89. 'type' => 'bool'
  90. ]
  91. ],
  92. 'xss_dangerous_tags' => [
  93. 'type' => 'selectize',
  94. 'size' => 'large',
  95. 'label' => 'PLUGIN_ADMIN.XSS_DANGEROUS_TAGS_LIST',
  96. 'classes' => 'fancy',
  97. 'validate' => [
  98. 'type' => 'commalist'
  99. ]
  100. ],
  101. 'uploads_section' => [
  102. 'type' => 'section',
  103. 'title' => 'PLUGIN_ADMIN.UPLOADS_SECURITY',
  104. 'underline' => true
  105. ],
  106. 'uploads_dangerous_extensions' => [
  107. 'type' => 'selectize',
  108. 'size' => 'large',
  109. 'label' => 'PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS',
  110. 'help' => 'PLUGIN_ADMIN.UPLOADS_DANGEROUS_EXTENSIONS_HELP',
  111. 'classes' => 'fancy',
  112. 'validate' => [
  113. 'type' => 'commalist'
  114. ]
  115. ]
  116. ]
  117. ]
  118. ]
  119. ];