[ phpwiki-Bugs-876180 ] WikiWord Requirements for Bogo Login

"SourceForge.net" <[email protected]> Tue, 13 Jan 2004 08:17:44 -0800
Newsgroups gmane.comp.web.wiki.phpwiki.bugs
Message-ID <[email protected]>
Bugs item #876180, was opened at 2004-01-13 16:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106121&aid=876180&group_id=6121

Category: version 1.3.x (experimental)
Group: User Authentication
Status: Open
Resolution: None
Priority: 5
Submitted By: Roy Laurie (kylratix)
Assigned to: Nobody/Anonymous (nobody)
Summary: WikiWord Requirements for Bogo Login

Initial Comment:
Version: 1.3.7

Word on the vine is that bogo's going away. 
Nonetheless, users aren't allowed to login without 
(seemingly) a name with two words in it.

Eg, Kylratix won't work however KylratixWiki will.

Pretty easy to track down: 'lib/WikiUser.php' inside 
function _pwcheck. Here's the litmus that kills one-word 
logins:

if (ALLOW_BOGO_LOGIN && preg_match('/\A' . 
$WikiNameRegexp . '\z/', $userid) ) {
            $this->_authmethod = 'BOGO';
            return WIKIAUTH_BOGO;
}

The preg_match is obviously what kills it. Maybe I'll fix 
tommorrow. Or look at latest CVS and see if it's worth it.

--KX

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106121&aid=876180&group_id=6121


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn