[PR #4587] [CLOSED] recover query cleaned by proxy #5006

Closed
opened 2026-05-05 14:52:55 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fatedier/frp/pull/4587
Author: @longbai
Created: 12/16/2024
Status: Closed

Base: devHead: recover_http_proxy_query_cleaned


📝 Commits (1)

  • 4732479 recover 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.

## 📋 Pull Request Information **Original PR:** https://github.com/fatedier/frp/pull/4587 **Author:** [@longbai](https://github.com/longbai) **Created:** 12/16/2024 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `recover_http_proxy_query_cleaned` --- ### 📝 Commits (1) - [`4732479`](https://github.com/fatedier/frp/commit/4732479d324e7b29c3589a0e898e403cbc98bf33) recover query cleaned by proxy ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `pkg/util/vhost/http.go` (+2 -1) </details> ### 📄 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 <!-- author to complete --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 14:52:55 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#5006
No description provided.