Mibew / mibew

Mibew Messenger - open-source live support application
https://mibew.org
Other
473 stars 204 forks source link

Get correct user IP when has proxy and adapt for IPv6 #198

Closed everyx closed 7 years ago

everyx commented 7 years ago

When user has proxy and we should get the correct address, and I just send a pull request https://github.com/Mibew/mibew/pull/197 , and when user IP is an IPv6 address, the regular expressions /(\\d+\\.\\d+\\.\\d+\\.\\d+)/ should adapt for this.

faf commented 7 years ago

Fixed by 568e539e49d11145252837f2ddbbaba6c22539a9