#1012: Bug in sesion handling when using IPV6
--------------------+--------------------------
Reporter: skaplun | Owner: skaplun
Type: defect | Status: new
Priority: major | Component: WebSession
Version: | Keywords: IPV6 session
--------------------+--------------------------
Currently, if a user visits Invenio with an IPV6 address, the session will
be invalid because it's not possible to extract correctly it's IP address
after the changes (re-)introduced in
6459e40050209f3151d591a089243034f221351f
Proper handling of IPV6 address must be introduced.
To reproduce the error just add in your /etc/hosts file something like:
{{{
::1 ip6-localhost ip6-loopback localhost
}}}
The browser will by default use ::1 when visiting localhost and this will
trigger the session to be always invalid.
--
Ticket URL: <http://invenio-software.org/ticket/1012>
Invenio <http://invenio-software.org>