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

recover query cleaned by proxy #4587

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

longbai
Copy link

@longbai longbai commented Dec 16, 2024

WHY

some request url like "http://a.b.c/cgi-bin/ajax?ajaxmethod=web_get_brmad&token=Mozilla/5.0%20(Macintosh;%20Intel%20Mac%20OS%20X%2010_15_7)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/131.0.0.0%20Safari/537.36"
does not accept by reverse proxy when rewrite, and trim to http://a.b.c/cgi-bin/ajax?ajaxmethod=web_get_brmad

I dont know why the author do this, the comment is not clearly, it is over the bound of the proxy duty.
maybe set a config flag for user

@fatedier fatedier requested a review from Copilot December 16, 2024 06:56

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@fatedier
Copy link
Owner

Please ensure that the content of the query parameters is properly encoded.

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

Successfully merging this pull request may close these issues.

2 participants