LearnBoost/socket.io — Issue #638: Origins with Port 80
Author: nambad
Created: 2011-11-14 07:20:50+00:00
State: open

When serving the html file from a localhost or apache server and also giving origins it gives error for illegal origin
I realized that in the concept of origins, http://localhost is not equal to http://localhost:80
When using apache server to serve the file, ports part of the origins parameter is empty which according to me should be 80. So to set it, i changed the code and added a pull request

Related to Pull request
https://github.com/LearnBoost/socket.io/pull/633

As einaros said, i opened this issue for a better solution the above problem

http://i44.tinypic.com/2h4cgpe.jpg

Reproducible code:
https://gist.github.com/1363426
Please see the comments sections