webinos/Webinos-Platform — pull request #280 by jplyle (2012-11-05 15:36:35+00:00)
Title: WP-329: Disallow non-localhost origins to perform autoenrolment

The PZP will now check for websocket connections to make sure:

(1) They come from localhost
(2) That if they attempt to do autoenrolment, their origin hostname
is 'localhost' or '127.0.0.1'.

This is a quick fix to WP-329 and fixes some indentation

Jira issue: WP-329