[GH-ISSUE #4220] 使用基本认证浏览器在OPTIONS预检时会跨域报错 #3323

Closed
opened 2026-05-05 14:08:35 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @ncwsky on GitHub (May 15, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4220

Bug Description

客户端配置了httpUser 、httpPassword 浏览器在OPTIONS预检时会跨域报错,未配置的情况未测试
image
这是修改两个文件后解决了

frpc Version

0.57.0

frps Version

0.57.0

System Architecture

linux/amd64

Configurations

proxies
name = "1001"
type = "http"
localIP = "127.0.0.1"
localPort = 80
subdomain = "test"
httpUser = "u1001"
httpPassword = "p1001"

Logs

No response

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 @ncwsky on GitHub (May 15, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4220 ### Bug Description 客户端配置了httpUser 、httpPassword 浏览器在OPTIONS预检时会跨域报错,未配置的情况未测试 ![image](https://github.com/fatedier/frp/assets/2024423/481082fe-3ab7-40af-a95e-6b9750f1c487) 这是修改两个文件后解决了 ### frpc Version 0.57.0 ### frps Version 0.57.0 ### System Architecture linux/amd64 ### Configurations [[proxies]] name = "1001" type = "http" localIP = "127.0.0.1" localPort = 80 subdomain = "test" httpUser = "u1001" httpPassword = "p1001" ### Logs _No response_ ### 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:08:35 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Jun 6, 2024):

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

<!-- gh-comment-id:2151170696 --> @github-actions[bot] commented on GitHub (Jun 6, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#3323
No description provided.