Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95855 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36096 invoked from network); 9 Sep 2016 12:37:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2016 12:37:36 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.163 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.163 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.163] ([81.169.146.163:50938] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/27-61313-E0DA2D75 for ; Fri, 09 Sep 2016 08:37:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1473424652; l=2377; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=A1Dq0T4wMCxNmQgBfFEaiR4mPosTWAw5BRsatdHFw5o=; b=DP8eX0N4obKEJJobVKxWSASpLj73umj/1YkJg7O+ZdLONb+quG0Ldaol9iFvKHKTUtb fDNgcOadYHncyrs9MEj8c16ERYWGjAoPu6YJ3II1mlW9b91fGsZg6+s8uAYLlq3z5B68r cxW2lr4rbSixLuI8ArjHN9/h/BCIJYpwMoQ= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3o6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f49.google.com ([74.125.82.49]) by smtp.strato.de (RZmta 39.1 AUTH) with ESMTPSA id u024b9s89CbW5wF (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Fri, 9 Sep 2016 14:37:32 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id w12so29211855wmf.0 for ; Fri, 09 Sep 2016 05:37:32 -0700 (PDT) X-Gm-Message-State: AE9vXwMqBxYkHoNuKnWlOciuD3xwRxsfDhyh8ZNpVpAKOwmz+Qo+PPcgu8RP90y2gW7TdsMNaxwF26KnVQV0bQ== X-Received: by 10.28.165.133 with SMTP id o127mr2515835wme.3.1473424651966; Fri, 09 Sep 2016 05:37:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.180.7 with HTTP; Fri, 9 Sep 2016 05:37:31 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Sep 2016 14:37:31 +0200 X-Gmail-Original-Message-ID: Message-ID: To: =?UTF-8?Q?Silvio_Mariji=C4=87?= Cc: PHP Internals List Content-Type: multipart/alternative; boundary=001a114b3ca0fbec53053c126868 Subject: Re: [PHP-DEV] [PHPDEV] Bearer Auth From: me@kelunik.com (Niklas Keller) --001a114b3ca0fbec53053c126868 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2016-09-09 14:17 GMT+02:00 Silvio Mariji=C4=87 : > Came across this issue https://bugs.php.net/bug.php?id=3D72915 and got an > idea. I've added PHP_AUTH_BEARER to $_SERVER when Bearer auth token is us= ed > as Authorization method. > > Does this kind of change requires RFC ? Would this kind of change be > usefull enough to go into the codebase ? > > Here are the changes I made: > https://github.com/php/php-src/compare/master...smarijic:php_auth_bearer > > Cheers, > Silvio. > -- > Silvio Mariji=C4=87 > Software Engineer > 2e Systems > I don't see why we should special case Bearer tokens. Regards, Niklas --001a114b3ca0fbec53053c126868--