[GH-ISSUE #4968] URL Parameter Truncation Issue in Web Proxy #3916

Closed
opened 2026-05-05 14:29:51 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @hongwenchina on GitHub (Sep 5, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4968

Bug Description

When I enter "http://www.ttt.com:3719/add?deptid=1&s=2;script" in the browser address bar, the proxied web server only receives "/add?deptid=1", and the remaining "&s=2;script" portion is lost.

frpc Version

0.64.0

frps Version

0.64.0

System Architecture

linux/amd64

Configurations

frps.toml:
bindPort = 3333
vhostHTTPPort = 3719

frpc.toml:
serverAddr = "127.0.0.1"
serverPort = 3333
proxies
name = "test-tcp"
type = "http"
localIP = "127.0.0.1"
localPort = 8080
#remotePort = 6000
customDomains = ["www.ttt.com"]

Logs

no error logs

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @hongwenchina on GitHub (Sep 5, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4968 ### Bug Description When I enter "http://www.ttt.com:3719/add?deptid=1&s=2;script" in the browser address bar, the proxied web server only receives "/add?deptid=1", and the remaining "&s=2;script" portion is lost. ### frpc Version 0.64.0 ### frps Version 0.64.0 ### System Architecture linux/amd64 ### Configurations frps.toml: bindPort = 3333 vhostHTTPPort = 3719 frpc.toml: serverAddr = "127.0.0.1" serverPort = 3333 [[proxies]] name = "test-tcp" type = "http" localIP = "127.0.0.1" localPort = 8080 #remotePort = 6000 customDomains = ["www.ttt.com"] ### Logs no error logs ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:29:51 -06:00
Author
Owner

@fatedier commented on GitHub (Sep 6, 2025):

If you need to forward non-standard HTTP requests transparently, you can use a proxy of type tcp.

<!-- gh-comment-id:3262216283 --> @fatedier commented on GitHub (Sep 6, 2025): If you need to forward non-standard HTTP requests transparently, you can use a proxy of type `tcp`.
Author
Owner

@github-actions[bot] commented on GitHub (Sep 21, 2025):

Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.

<!-- gh-comment-id:3315401215 --> @github-actions[bot] commented on GitHub (Sep 21, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.
Author
Owner

@hongwenchina commented on GitHub (Sep 21, 2025):

Thank you, it works in TCP type

<!-- gh-comment-id:3315929941 --> @hongwenchina commented on GitHub (Sep 21, 2025): Thank you, it works in TCP type
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#3916
No description provided.