joomla/joomla-cms — pull request #4670 by jo-sf (2014-10-14 17:11:08+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().