https://bugzilla.wikimedia.org/show_bug.cgi?id=14977

--- Comment #34 from Ashar Voultoiz <[email protected]> 2011-05-11 03:24:08 UTC ---
Looks like I partly fixed this bug some weeks ago.

r83847 - commit log:
------------8<---------------------8<--------------------
setting servername with an IPv6 request must ensure we have both brackets

On lighttpd 1.4.28, the SERVER_NAME CGI variable is truncated at the first
colon. This makes it return an incorrect value for SERVER_NAME when the user
make the request to an IPv6, it outputs something like [2001.

This patch make sure we have either both opening and closing brackets or no
brackets at all (hence the 'xor' boolean check).
------------8<---------------------8<--------------------

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to