When Authorization: Bearer is present but does not match (or is disabled), respond with 401 Unauthorized so script authors can distinguish auth failure from a wrong webBasePath. Requests with no Authorization header still get 404 masking; wrong base paths continue to 404 via NoRoute. Fixes #6255 Co-authored-by: mrchatam <mrchatam@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| api.go | ||
| api_auth_test.go | ||
| base.go | ||
| client.go | ||
| client_partial_apply_test.go | ||
| dist.go | ||
| dist_test.go | ||
| geodata_test.go | ||
| group.go | ||
| host.go | ||
| host_test.go | ||
| inbound.go | ||
| inbound_node_sync_test.go | ||
| index.go | ||
| login_limiter.go | ||
| login_limiter_test.go | ||
| node.go | ||
| node_credentials_writeonly_test.go | ||
| panel_update_test.go | ||
| pwa.go | ||
| pwa_test.go | ||
| server.go | ||
| setting.go | ||
| setting_test.go | ||
| spa.go | ||
| spa_test.go | ||
| sub_balancer.go | ||
| sub_balancer_test.go | ||
| util.go | ||
| util_test.go | ||
| websocket.go | ||
| xray_setting.go | ||
| xray_setting_warp_test.go | ||