mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[PR #4587] [CLOSED] recover query cleaned by proxy #5006
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#5006
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fatedier/frp/pull/4587
Author: @longbai
Created: 12/16/2024
Status: ❌ Closed
Base:
dev← Head:recover_http_proxy_query_cleaned📝 Commits (1)
4732479recover query cleaned by proxy📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
pkg/util/vhost/http.go(+2 -1)📄 Description
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.