Bug #67792 [NEW]: HTTP Authorization schema names are treated as case-sensitive

From: Date: Tue, 05 Aug 2014 18:50:53 +0000
Subject: Bug #67792 [NEW]: HTTP Authorization schema names are treated as case-sensitive
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186989@lists.php.net to get a copy of this message
From:             bcundal at cundal dot net
Operating system: 
PHP version:      5.6Git-2014-08-05 (Git)
Package:          HTTP related
Bug Type:         Bug
Bug description:HTTP Authorization schema names are treated as case-sensitive

Description:
------------
php_handle_auth_data treats the Authorization scheme (i.e. "Basic" or
"Digest") as case-sensitive, but RFC 2617 section 1.2 describes this
token as case-insensitive.

All instances of strncmp in php_handle_auth_data should be replaced with
strnicmp.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=67792&edit=1
-- 



Thread (4 messages)

« previous php.bugs (#186989) next »