Issues

ZF-11025: Http Auth error, when password contains a ":"

Issue Type: Bug Created: 2011-02-03T06:54:22.000+0000 Last Updated: 2012-05-29T13:45:07.000+0000 Status: Open Fix version(s): Reporter: Sebastian Hoitz (nekromanter) Assignee: Ralph Schindler (ralph) Tags: - Zend_Auth

Related issues: - ZF-12132

Attachments:

Description

The Zend_Auth_Adapter_Http class contains an error on line 535:

<pre class="highlight">
        $creds = array_filter(explode(':', $auth));

When a password contains a :, this will be rendered broken.

The line should better be:

<pre class="highlight">
        $creds = array_filter(explode(':', $auth, 2));

Comments

No comments to display

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts