Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X-Frame-Options is DENY for http://localhost:8080/spoon/kettle/status #248

Open
guo1017138 opened this issue Nov 19, 2021 · 3 comments
Open

Comments

@guo1017138
Copy link

guo1017138 commented Nov 19, 2021

Checklist before submitting an issue

Expected Behavior

X-Frame-Options should be SAMEORIGIN due to I set it in webapps/spoon/WEB-INF/spring/security.xml as the following:

  <http>
    <intercept-url pattern="/favicon.ico" access="permitAll"/>
    <intercept-url pattern="/rwt-resources/**" access="permitAll"/>
    <intercept-url pattern="/**" access="hasRole('USER')" />
    <form-login default-target-url="/spoon"/>
    <logout />
    <!-- Spring Security's CSRF protection is disabled because RAP/RWT does not handle the CSRF token issued by Spring Security.
         RAP/RWT has its own CSRF protection. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=413668 for more details -->
    <csrf disabled="true"/>
    <headers>
      <frame-options policy="SAMEORIGIN"/>
    </headers>
  </http>

Actual Behavior

Screenshots and error messages are helpful.
image

Steps to Reproduce the Problem

  1. bring up webspoon with docker
  2. run some job with carte
  3. check carte job status with http://localhost:8080/spoon/kettle/status URL, select one job, view job details.
  4. In the jobstatus page, the canvas preview can't be display due to X-Frame-OPTIONS is DENY

Specifications

Server

If deployed as a Docker container

  • Docker tag (e.g., hiromuhota/webspoon:0.9.0.21):
    hiromuhota/webspoon:latest

Else

  • OS (e.g., Mac OS X 10.12.6):
  • Java (e.g., Oracle JDK 8u151):
  • Servlet container (e.g., Apache Tomcat 8.5.20):
  • webSpoon (e.g., version: 0.8.0.13 or commitId: 0211d84):

Client

  • OS (e.g., Mac OS X 10.12.6):
  • Browser (e.g., Google Chrome 64.0.3282.140):
@gaoconggit
Copy link

+1

@gaoconggit
Copy link

gaoconggit commented Oct 14, 2022

i resovled by
image

@gaoconggit
Copy link

but, i get this . chinese garbled characters .
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants