d-tamm / ff-boka

Bokningssystem för Friluftsfrämjandets lokalavdelningar
GNU General Public License v3.0
4 stars 0 forks source link

IPv6 addresses not handled correctly in login log #368

Closed d-tamm closed 3 months ago

d-tamm commented 3 months ago

When logging in, the user's IP address is logged, but IPv6 addresses crash the script which uses the INET_ATON function in mySQL. The function must be replaced with INET6_ATON and the data type of the corresponding table logins must be changed.