Skip to content

Conversation

feranwq
Copy link
Contributor

@feranwq feranwq commented Aug 29, 2025

Description

add absolute_redirect off; in /ui location to fix redirect port err

Which issue(s) this PR fixes:

Fixes #12511

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Aug 29, 2025
Baoyuantop
Baoyuantop previously approved these changes Aug 29, 2025
@juzhiyuan
Copy link
Member

Hi I notice there are some failing tests

@feranwq
Copy link
Contributor Author

feranwq commented Aug 29, 2025

Hi I notice there are some failing tests

I've reviewed the error and it doesn't appear to be related to my PR. However, I can't be certain whether the err with the pre-existing code or the test itself.

Copy link
Contributor

@bzp2010 bzp2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test case needs to be added to verify that the Location response header meets expectations.

@SkyeYoung
Copy link
Member

I reran the tests. Also, I agree with @bzp2010 's opinion.

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Sep 1, 2025
@bzp2010
Copy link
Contributor

bzp2010 commented Sep 2, 2025

Please do not force push after the review has begun; this wastes our time. 🤨

I believe the PR description already clearly explains this matter. If you do not believe this PR is ready for review, please place it in draft status until you have completed it and marked it as ready to review.

@feranwq
Copy link
Contributor Author

feranwq commented Sep 2, 2025

Please do not force push after the review has begun; this wastes our time. 🤨

I believe the PR description already clearly explains this matter. If you do not believe this PR is ready for review, please place it in draft status until you have completed it and marked it as ready to review.

Sorry, I'm used to using rebase to keep the commit history clean. I'll be mindful of this for any future modifications.

Copy link
Contributor

@bzp2010 bzp2010 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This project always merges PRs using squash merges, so the commit history isn't very important.

@bzp2010 bzp2010 changed the title fix: fix ui redirect error when behind proxy (#12511) fix: embedded UI redirect error when behind proxy (#12511) Sep 2, 2025
@SkyeYoung SkyeYoung changed the title fix: embedded UI redirect error when behind proxy (#12511) fix: embedded UI redirect error when behind proxy Sep 3, 2025
@Baoyuantop
Copy link
Contributor

Hi @feranwq, there's a failed test that needs to be resolved. I haven't identified the specific cause of the issue. Maybe you could merge the master branch and try again?

@feranwq
Copy link
Contributor Author

feranwq commented Sep 16, 2025

Hi @feranwq, there's a failed test that needs to be resolved. I haven't identified the specific cause of the issue. Maybe you could merge the master branch and try again?

It failed again, this time it was an mcp test failure. I've seen similar failures frequently in other pr, please help take a look.

@SkyeYoung
Copy link
Member

@feranwq The test for this mcp-bridge often fails. I've rerun it for you.

@moonming moonming merged commit 93901a9 into apache:master Sep 17, 2025
36 of 39 checks passed
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in ⚡️ Apache APISIX Roadmap Sep 17, 2025
jizhuozhi pushed a commit to jizhuozhi/apisix that referenced this pull request Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:S This PR changes 10-29 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

help request: Admin ui Redirected

6 participants