solarphp/core — pull request #62 by mjaschen (2012-09-11 17:24:32+00:00)
Title: Fixed parsing of access files where fields are separated by only one tab...

*Let's try do the pull request right the second time ;)*

As discovered on the mailing list, there's a bug in Solar's parser for access control files.

From the mailing list:

> If you look at this line

> `$src = preg_replace('/[ \t]{2,}/', ' ', trim($src));`

> all occurrences of at least *two* spaces or *two* tabs are replaced
> by *one* space. Later the line will be split at this space character.

> If there's is one tab that's not followed by a second tab it's not
> replaced by a space and therefore the split fails.