[pmwiki-users] PmWikiEdit . . .

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Mon Feb 6 08:46:48 CST 2006


On Mon, 6 Feb 2006, Patrick R. Michaud wrote:

> On Mon, Feb 06, 2006 at 12:15:45AM +0100, christian.ridderstrom at gmail.com wrote:
> > One solution for pages protected with .htpasswd is to submit URIs such as 
> > this one:
> > 
> > 	http://user:password@pmwiki.org/wiki/Some/Page
> > 
> > However, this doesn't work with other authentification schemes unless 
> > pmwiki is modified to extract username/password from the URI if it's 
> > there. IIRC, Patrick will consider do this if we ask him. 
> 
> No, I said I would do this if someone could figure out a way to
> extract the "user:password" portion from the uri.  In all of the
> versions of Apache that I have ever used, the "user:password"
> portion of the url isn't made available to the PHP script unless the
> site is being protected by .htpasswd.

Ah... Would it then instead be an option to allow pmwiki to extract 
password/username from something like:

	...?user=xxx&password=xxx

It'd be very easy for me to change pmwiki-mode so that something like this 
is appended. It's not safe of course...

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list