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

Redirect on View/Edit Cluster Config when there is a redirect in kong #13

Open
cronventis opened this issue Jan 25, 2021 · 1 comment
Open

Comments

@cronventis
Copy link

So I added a plugin to one of my routes to do ra request termination with these settings:

config:
  status_code: 301
  content_type: "text/html"
  body: "<meta http-equiv=\"refresh\" content=\"0; URL='https://domain.de/target/'\" />"

When clicking on "View/Edit Cluster Config" in KongMap, I get the loading screen and at one point during load, I get redirected to "https://domain.de/target" just like it is defined in the plugin..

@nikirago
Copy link
Contributor

nikirago commented Jul 6, 2021

Browser must be picking this up as HTML. Will add this to an invisible text box or alter display to avoid execution.

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