note 88372 added to features.http-auth

From: Date: Wed, 21 Jan 2009 14:16:39 +0000
Subject: note 88372 added to features.http-auth
Groups: php.notes 
Request: Send a blank email to php-notes+get-149597@lists.php.net to get a copy of this message
In Example #2 Digest HTTP Authentication example the part <?php preg_match_all('@(\w+)=(?:([\'"])([^\2]+)\2|([^\s,]+))@', $txt, $matches, PREG_SET_ORDER); ?> should be changed in <?php preg_match_all('@(\w+)=([\'"]?)([a-zA-Z0-9?=./\_-]+)\2@', $txt, $matches, PREG_SET_ORDER); ?> to work as well with urls containging question marks or a bit more longer than the root address. ---- Server IP: 213.92.11.19 Probable Submitter: 82.107.34.139 ---- Manual Page -- http://www.php.net/manual/en/features.http-auth.php Edit -- https://master.php.net/note/edit/88372 Del: integrated -- https://master.php.net/note/delete/88372/integrated Del: useless -- https://master.php.net/note/delete/88372/useless Del: bad code -- https://master.php.net/note/delete/88372/bad+code Del: spam -- https://master.php.net/note/delete/88372/spam Del: non-english -- https://master.php.net/note/delete/88372/non-english Del: in docs -- https://master.php.net/note/delete/88372/in+docs Del: other reasons-- https://master.php.net/note/delete/88372 Reject -- https://master.php.net/note/reject/88372 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#149597) next »