joomla/joomla-cms — pull request #4669 by jo-sf (2014-10-14 16:56:14+00:00)
Title: URL checking improved

When adding the scheme to an URL use correct scheme (http or https) and port.
Checking for "http" or "https" via strstr() in the URL matched also these strings embedded in the URL (e.g. in /static/http/index.html), due to that checks changed to strpos().