mkopylec / charon-spring-boot-starter

Reverse proxy implementation in form of a Spring Boot starter.
Apache License 2.0
240 stars 54 forks source link

#45 Fix Host header on forwarded requests #46

Closed RichardBradley closed 6 years ago

RichardBradley commented 6 years ago

This fixes #45

The test "def "Should proxy HTTPS request"()" demonstrates that this fix works -- previously TLS requests that were being forwarded to https://github.com had a Host header of localhost, and were being rejected by GitHub's server. Now the request is succeeding.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.5%) to 92.308% when pulling 2e4768465c4460e26273ac7b87786a4162f1ace0 on RichardBradley:45-host-header into eb0e381ac53c0367a416d1719f12956282228651 on mkopylec:master.