caddyserver / forwardproxy

Forward proxy plugin for the Caddy web server
Apache License 2.0
603 stars 228 forks source link

Add realm to Proxy-Authenticate with probe resist #58

Closed sergeyfrolov closed 5 years ago

sergeyfrolov commented 5 years ago

In #53 we added a realm to the Proxy-Authenticate header, but the realm only is added, when probe_resistance is off. Proxy-Authenticate header should have a realm when probe_resistance is on as well.

1. What does this change do, exactly?

Add realm to Proxy-Authenticate header of Hidden Page, which is served when probe_resistance is on.

2. Please link to the relevant issues.

52

3. Which documentation changes (if any) need to be made because of this PR?

None

4. Checklist