|
Main sidebar
|
Summary: PageVar() should respect authentications
Created: 2010-07-28 03:58
Status: Closed - fixed for 2.2.24
Category: CoreCandidate
From: Petko
Assigned:
Priority: 4
Version: all
OS:
Description: Discussion with Eemeli Aro on the mailing list: http://www.pmichaud.com/pipermail/pmwiki-users/2010-July/057758.html PageVar() should use RetrieveAuthPage() instead of ReadPage() to get the page. Testing PageVars from Test.LockedPage. To see the PVs, login (the password is quick) and to hide them, logout. Title: "LockedPage" Titlespaced: "Locked Page" LastModifiedSummary: "" LastModifiedBy: "" LastModifiedHost: "" LastModified: "July 05, 2026, at 04:43 am" LastModifiedTime: "" Description: "" PasswdRead: "****" PasswdEdit: "****" PasswdAttr: "@lock" Those should always be visible: PageUrl: "The
foreach($FmtPV as $k=>$v) {
if(preg_match('/^\\$(Title(spaced)?|LastModified(By|Host|Summary|Time)?|Description)$/', $k))
$FmtPV[$k] = str_replace('$page', '$authpage', $v);
}
|