http basic auth username and password should be copied to $forwardRequest
Reported by Joshua Paine | February 11th, 2009 @ 06:31 PM
Http basic auth values don't get communicated to $forwardRequest's, leading them to believe the user is not authenticated. Easy to fix. In Recess.class.php, just change:
$forwardRequest->cookies = $response->request->cookies;
to
$forwardRequest->cookies = $response->request->cookies; $forwardRequest->username = $response->request->username; $forwardRequest->password = $response->request->password;
Comments and changes to this ticket
-
Kris Jordan February 16th, 2009 @ 03:12 PM
- State changed from new to resolved
Great catch. Fix has been added to the source tree with commit d938e84. Forwarding is still a bit clunky as you've recognized, brainstorming on how to make it more intuitive. Thanks for the bug submission!
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Recess PHP Framework is an open source, full stack, RESTful PHP framework.
http://www.recessframework.org/