prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
890 stars 278 forks source link

Strange hostname (ipv6-only users?) #759

Closed MyWay closed 9 years ago

MyWay commented 9 years ago

I'm getting users with 2606, or things like that as hostname. Can you fix it, please?

prawnsalad commented 9 years ago

Is this when using a reverse proxy?

MyWay commented 9 years ago

I'm using a nginx reverse proxy, but I don't know if it's happening only when using a reverse proxy, why?

MyWay commented 9 years ago

So the problem is at line 180 of server/weblistener.js, address = (address || '').split(':')[0];

prawnsalad commented 9 years ago

This is now fixed in https://github.com/prawnsalad/KiwiIRC/commit/618cfd46a8512fd8bb367435dfb8601ceefeec02