Please sign in to comment.
Don't include default ports in last_effective_url
Currently if you get a redirect to http://test.com/ the last_effective_url will be http://test.com:80/ Solve this by not changing the Addressable::URI instance. This also affected encode_host so only include port in host header if it is not nil and not any standard port.
- Loading branch information...
Showing with 5 additions and 8 deletions.