assaf/zombie — pull request #535 by AaronO (2013-06-15 14:10:17+00:00)
Title: Fix: XHR security check false positive

The XHR security check triggers a false positive (a security error). If a url provides a port even if this port is the standard one for http or https.

So I added a normalization function that removes the port from the url object, when the port specified is the same as the protocol's default (443 for https and 80 for http).

This error wis triggered on my side when using zombie.js to visit a site that used socket.io

It's a small issue, albeit annoying.

This is a simple but good fix.