[pmwiki-users] {$Action} broken?

Bart pmwiki-users at mediamatrix.nl
Tue Aug 29 06:18:55 CDT 2006


On Mon, Aug 28, 2006 at 12:50:53PM -0500, Patrick R. Michaud wrote:
|
| Currently, any action that doesn't have its own handler
| silently converts the $action variable into 'browse', so that
| HandleBrowse() is called.  There are probably other ways to
| handle the case when an unknown action is specified, but this
| has the nice advantage of making sure that $action becomes a
| valid value of some sort, without doing anything too out of the
| ordinary.
| 
| The issue with ?action=print was simply that PmWiki didn't
| explicitly recognize 'print', and so it was converting $action
| into 'browse'.  But since the two essentially do the same thing,
| nobody really came across a difference until now.  :-)
| 
| At any rate, the answer I like so far is to explicitly recognize
| ?action=print as a valid action.  It will appear that way in the
| next release.
| 
| Thanks!
| 
| Pm
|


Thanks for explaining and fixing this! I just upgraded to 2.1.18 and can
confirm that it now works as expected :-)

Bart 







More information about the pmwiki-users mailing list