IPv6 Host field is stripped of Brackets in HTTPClientSession #172

Closed
aleks-f opened this Issue May 2, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@aleks-f
Member

aleks-f commented May 2, 2013

From https://sourceforge.net/p/poco/bugs/609/

When creating an HTTPClientSession the Host:port are provided. For IPv6 hosts, the brackets are stripped when sending the host field. So an address like:
[fc00:121:121:64::66]:8081 incorrectly appears in the host field as fc00:121:121:64::66:8081.
There is a workaround to explicitly set host on the Request to override the field with the correct value.

@ghost ghost assigned aleks-f May 2, 2013

@obiltschnig

This comment has been minimized.

Show comment
Hide comment
@obiltschnig

obiltschnig May 24, 2013

Member

fixed in develop and 1.4.6p2

Member

obiltschnig commented May 24, 2013

fixed in develop and 1.4.6p2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment