[zope2-tracker] [Bug 699865] [NEW] VirtualHostMonster does not work with IPv6 named hosts
Łukasz Nowak
699865 at bugs.launchpad.net
Fri Jan 7 10:11:03 EST 2011
Public bug reported:
VirtualHostMonster does not work with IPv6 named hosts.
In case of such rewrite configuration:
RewriteRule (.*)
http://10.0.243.129:9280/VirtualHostBase/https/[%{SERVER_ADDR}]:4080$1
[L,P]
When SERVER_ADDR is fd00::74ba VirtualHostMonster dies with:
Traceback (most recent call last):
File "/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/ZPublisher/BeforeTraverse.py", line 145, in __call__
meth(*(container, request, None)[:args])
File "/eggs/Zope2-2.12.14-py2.6-linux-x86_64.egg/Products/SiteAccess/VirtualHostMonster.py", line 154, in __call__
host, port = host.split(':')
ValueError: too many values to unpack
This is because IPv6 addresses contain ":" in them.
** Affects: zope2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/699865
Title:
VirtualHostMonster does not work with IPv6 named hosts
More information about the zope2-tracker
mailing list