#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: <https://trac.cakephp.org/ticket/6088#comment:3>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to