[pmwiki-users] RetrieveAuthPage & downloadmanager

adam overton a at plus1plus1plus.org
Mon Oct 20 15:28:59 CDT 2008


(hi - sent this about a week ago, just tryin' agin'. thanks for your  
help!)

hi
i'm currently using a version of downloadmanager, and was running  
into the problem that any filename with a '+' in it causes the  
RetrieveAuthPage() function to fail.

for instance, blah+.txt leads to the following error, while blah-.txt  
or blah.txt download successfully.

	PmWiki can't process your request
	?requested file not found
	We are sorry for any inconvenience.

this is what the code in download manager looks like:
$page = RetrieveAuthPage($pagename, $auth, true, READPAGE_CURRENT);
if (!$page) Abort("?cannot read $pagename");

is RetrieveAuthPage working the way it should? any idea on whether  
there's a workaround for this?
will i need to filter my users' filenames to remove any plusses (+)  
in them?

thanks
adam



More information about the pmwiki-users mailing list