geoff 2004/08/13 11:09:14
Modified: t/hooks authen_digest.t
Log:
don't try to guess the nonce format - just make sure it's there
Revision Changes Path
1.4 +1 -1 modperl-2.0/t/hooks/authen_digest.t
Index: authen_digest.t
===================================================================
RCS file: /home/cvs/modperl-2.0/t/hooks/authen_digest.t,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- authen_digest.t 11 Aug 2004 12:34:45 -0000 1.3
+++ authen_digest.t 13 Aug 2004 18:09:14 -0000 1.4
@@ -43,7 +43,7 @@
'WWW-Authenticate header contains the proper realm');
ok t_cmp($wwwauth,
- qr/nonce="\w+"/,
+ qr/nonce="/,
'WWW-Authenticate header contains a nonce');
what if you get nonce="", is that good enough? would it be more correct to check:
qr/nonce="[^"]+"/,
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
