Bug in sesion handling when using IPV6
|Reported by:||skaplun||Owned by:||skaplun|
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.