Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gabriel Monnerat
erp5
Commits
58167e35
Commit
58167e35
authored
Mar 25, 2020
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: remove unsafe-eval CSP
It was required by Handlebars
parent
55efebea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
165 additions
and
101 deletions
+165
-101
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_site_module/renderjs_runner.xml
...s_ui/PathTemplateItem/web_site_module/renderjs_runner.xml
+165
-101
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_site_module/renderjs_runner.xml
View file @
58167e35
...
@@ -289,6 +289,26 @@
...
@@ -289,6 +289,26 @@
<value>
<string>
string
</string>
</value>
<value>
<string>
string
</string>
</value>
</item>
</item>
</dictionary>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_precache_manifest_url_list
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
text
</string>
</value>
</item>
</dictionary>
<dictionary>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
configuration_wallpaper_url
</string>
</value>
</item>
<item>
<key>
<string>
type
</string>
</key>
<value>
<string>
string
</string>
</value>
</item>
</dictionary>
</tuple>
</tuple>
</value>
</value>
</item>
</item>
...
@@ -337,7 +357,7 @@
...
@@ -337,7 +357,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<key>
<string>
configuration_content_security_policy
</string>
</key>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\'
\'unsafe-eval\'
; font-src \'self\'; style-src \'self\' data:; frame-src \'self\' data:
</string>
</value>
<value>
<string>
default-src \'self\'; img-src \'self\' data:; media-src \'self\' blob:; connect-src \'self\' data:; script-src \'self\'; font-src \'self\'; style-src \'self\' data:; frame-src \'self\' data:
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
<key>
<string>
configuration_default_view_action_reference
</string>
</key>
...
@@ -371,6 +391,12 @@
...
@@ -371,6 +391,12 @@
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<key>
<string>
configuration_panel_gadget_url
</string>
</key>
<value>
<string>
gadget_erp5_panel.html
</string>
</value>
<value>
<string>
gadget_erp5_panel.html
</string>
</value>
</item>
</item>
<item>
<key>
<string>
configuration_precache_manifest_url_list
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
configuration_service_worker_url
</string>
</key>
<key>
<string>
configuration_service_worker_url
</string>
</key>
<value>
<string>
gadget_erp5_serviceworker.js
</string>
</value>
<value>
<string>
gadget_erp5_serviceworker.js
</string>
</value>
...
@@ -383,6 +409,12 @@
...
@@ -383,6 +409,12 @@
<key>
<string>
configuration_view_action_category
</string>
</key>
<key>
<string>
configuration_view_action_category
</string>
</key>
<value>
<string>
object_view
</string>
</value>
<value>
<string>
object_view
</string>
</value>
</item>
</item>
<item>
<key>
<string>
configuration_wallpaper_url
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<key>
<string>
configuration_x_frame_options
</string>
</key>
<value>
<string>
SAMEORIGIN
</string>
</value>
<value>
<string>
SAMEORIGIN
</string>
</value>
...
@@ -407,10 +439,22 @@
...
@@ -407,10 +439,22 @@
<key>
<string>
id
</string>
</key>
<key>
<string>
id
</string>
</key>
<value>
<string>
renderjs_runner
</string>
</value>
<value>
<string>
renderjs_runner
</string>
</value>
</item>
</item>
<item>
<key>
<string>
int_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<item>
<key>
<string>
layout_configuration_form_id
</string>
</key>
<key>
<string>
layout_configuration_form_id
</string>
</key>
<value>
<string>
WebSection_viewRenderJSPreference
</string>
</value>
<value>
<string>
WebSection_viewRenderJSPreference
</string>
</value>
</item>
</item>
<item>
<key>
<string>
membership_criterion_category
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
portal_type
</string>
</key>
<key>
<string>
portal_type
</string>
</key>
<value>
<string>
Web Site
</string>
</value>
<value>
<string>
Web Site
</string>
</value>
...
@@ -429,6 +473,18 @@
...
@@ -429,6 +473,18 @@
<key>
<string>
static_language_selection
</string>
</key>
<key>
<string>
static_language_selection
</string>
</key>
<value>
<int>
1
</int>
</value>
<value>
<int>
1
</int>
</value>
</item>
</item>
<item>
<key>
<string>
string_index
</string>
</key>
<value>
<none/>
</value>
</item>
<item>
<key>
<string>
test_method_id
</string>
</key>
<value>
<tuple/>
</value>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
<value>
<string>
RenderJS Runner
</string>
</value>
<value>
<string>
RenderJS Runner
</string>
</value>
...
@@ -536,11 +592,13 @@
...
@@ -536,11 +592,13 @@
</record>
</record>
<record
id=
"9"
aka=
"AAAAAAAAAAk="
>
<record
id=
"9"
aka=
"AAAAAAAAAAk="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<list>
<dictionary>
<dictionary>
<item>
<item>
...
@@ -584,16 +642,20 @@
...
@@ -584,16 +642,20 @@
</item>
</item>
</dictionary>
</dictionary>
</list>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
<record
id=
"10"
aka=
"AAAAAAAAAAo="
>
<record
id=
"10"
aka=
"AAAAAAAAAAo="
>
<pickle>
<pickle>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
patches.WorkflowTool
"
/>
<global
name=
"WorkflowHistoryList"
module=
"Products.ERP5Type.
Workflow
"
/>
</pickle>
</pickle>
<pickle>
<pickle>
<tuple>
<dictionary>
<none/>
<item>
<key>
<string>
_log
</string>
</key>
<value>
<list>
<list>
<dictionary>
<dictionary>
<item>
<item>
...
@@ -616,7 +678,7 @@
...
@@ -616,7 +678,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
973.33482.4166.866
9
</string>
</value>
<value>
<string>
982.49998.55063.3921
9
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -634,7 +696,7 @@
...
@@ -634,7 +696,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1553593373.7
7
</float>
<float>
1585149135.2
7
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
@@ -643,7 +705,9 @@
...
@@ -643,7 +705,9 @@
</item>
</item>
</dictionary>
</dictionary>
</list>
</list>
</tuple>
</value>
</item>
</dictionary>
</pickle>
</pickle>
</record>
</record>
</ZopeData>
</ZopeData>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment