Done


On Mon, Aug 26, 2013 at 4:51 AM, elinw <notifications@github.com> wrote:

> In libraries/joomla/database/driver/mysqli.php:
>
> > +		{
> > +			//We assume square-bracketed IPv6 address with or without port, e.g. [fe80:102::2%eth1]:3306
> > +			$this->options['host'] = $matches['host'];
> > +			if (!empty($matches['port']))
> > +				$port = $matches['port'];
> > +		}
> > +		elseif (preg_match('/^(?P<host>(\w+:\/{2,3})?[a-z0-9\.\-]+)(:(?P<port>[^:]+))?$/i', $this->options['host'], $matches))
> > +		{
> > +			//Named host (e.g domain.com or localhost) with ot without port
> > +			$this->options['host'] = $matches['host'];
> > +			if (!empty($matches['port']))
> > +				$port = $matches['port'];
> > +		}
> > +		elseif (preg_match('/^:(?P<port>[^:]+)$/', $this->options['host'], $matches))
> > +		{
> > +			//Empty host, just port, e.g. ':3306'
>
> Please put a space after //
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/joomla/joomla-cms/pull/1490/files#r5970497>
> .
>



-- 
Sent from my 1987 Pravetz 8M microcomputer.