Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
flowable-engine
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑越
flowable-engine
Commits
735634cd
Commit
735634cd
authored
Dec 18, 2020
by
郑越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关闭frame option
parent
8d81d15b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
FlowableUiSecurityAutoConfiguration.java
.../common/security/FlowableUiSecurityAutoConfiguration.java
+2
-1
No files found.
modules/flowable-ui/flowable-ui-common/src/main/java/org/flowable/ui/common/security/FlowableUiSecurityAutoConfiguration.java
View file @
735634cd
...
@@ -94,7 +94,8 @@ public class FlowableUiSecurityAutoConfiguration {
...
@@ -94,7 +94,8 @@ public class FlowableUiSecurityAutoConfiguration {
private
static
final
Customizer
<
HeadersConfigurer
<
HttpSecurity
>>
DEFAULT_HEADERS
=
headers
->
{
private
static
final
Customizer
<
HeadersConfigurer
<
HttpSecurity
>>
DEFAULT_HEADERS
=
headers
->
{
headers
.
frameOptions
()
headers
.
frameOptions
()
.
sameOrigin
()
.
disable
()
// .sameOrigin()
.
addHeaderWriter
(
new
XXssProtectionHeaderWriter
());
.
addHeaderWriter
(
new
XXssProtectionHeaderWriter
());
};
};
...
...
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