frapi/frapi — pull request #91 by helgi (2011-12-13 06:14:28+00:00)
Title: _parseDigest catches cnoance as noance

HTTP Digest - _parseDigest catches cnoance as noance if it is first in the PHP_AUTH_DIGEST. The Digest string has no specific order to it and as such catching cnoance as noance causes authentication to fail.

This fix checks if noance has a space or a comma in front of it to exclude accidental cnoance capture.