[CakePHP : The Rapid Development Framework for PHP] #6088: Default HttpSocket auth method should be "Basic" not "basic"

2009-02-11 Thread CakePHP : The Rapid Development Framework for PHP
#6088: Default HttpSocket auth method should be "Basic" not "basic"
+---
Reporter:  mattcurry|  Type:  Bug
  Status:  new  |  Priority:  Medium 
   Milestone:  1.2.x.x  | Component:  General
 Version:  1.2 Final|  Severity:  Normal 
Keywords:  httpsocket auth  |   Php_version:  n/a
Cake_version:   |  
+---
 Sorry no test case on this one.  Didn't really make sense here.

 I believe the spec ([http://tools.ietf.org/html/rfc1945#section-11.1])
 calls for the word "basic" to be capitalized.

 {{{
 Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
 }}}

 In addition sites, such as twitter, won't accept authorization if "basic"
 is lowercase.

 Fix and update to the existing tests are attached

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6088: Default HttpSocket auth method should be "Basic" not "basic"

2009-02-11 Thread CakePHP : The Rapid Development Framework for PHP
#6088: Default HttpSocket auth method should be "Basic" not "basic"
+---
Reporter:  mattcurry| Owner:  mark_story
Type:  Bug  |Status:  assigned  
Priority:  Medium   | Milestone:  1.2.x.x   
   Component:  General  |   Version:  1.2 Final 
Severity:  Normal   |Resolution:
Keywords:  httpsocket auth  |   Php_version:  n/a   
Cake_version:   |  
+---
Changes (by mark_story):

  * owner:  => mark_story
  * status:  new => assigned

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---



Re: [CakePHP : The Rapid Development Framework for PHP] #6088: Default HttpSocket auth method should be "Basic" not "basic"

2009-02-12 Thread CakePHP : The Rapid Development Framework for PHP
#6088: Default HttpSocket auth method should be "Basic" not "basic"
+---
Reporter:  mattcurry| Owner:  mark_story
Type:  Bug  |Status:  closed
Priority:  Medium   | Milestone:  1.2.x.x   
   Component:  General  |   Version:  1.2 Final 
Severity:  Normal   |Resolution:  fixed 
Keywords:  httpsocket auth  |   Php_version:  n/a   
Cake_version:   |  
+---
Comment (by the_undefined):

 This is wrong. 'basic' does not need to be capitalized.
 http://tools.ietf.org/html/rfc1945#page-47 clearly states:

 {{{
It uses an extensible,
case-insensitive token to identify the authentication scheme,
followed by a comma-separated list of attribute-value pairs which
carry the parameters necessary for achieving authentication via that
scheme.
 }}}

 So you should file a bug report at twitter or whatever weird framework /
 webserver they might be using : ).
 [[BR]]
 [[BR]]
 It's really sad to see my poor little HttpSocket being abused by garden
 variety HTTP parser like that ... : (

 PS: I'm leaving this closed because capitalizing 'basic' is allowed per
 spec, but really we are fixing somebody elses bug here.

-- 
Ticket URL: 
CakePHP : The Rapid Development Framework for PHP 
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
flexibility.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
tickets-cakephp+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/tickets-cakephp?hl=en
-~--~~~~--~~--~--~---