bug report #628902 by jcfiala:Removed preg_match() error in filter_protocol because value was not simple string.