[pmwiki-devel] documentation and use of "?action=set"

michael paulukonis xraysmalevich at gmail.com
Sat May 25 21:25:08 CDT 2013


I haven't been able to find documentation or reference to this, outside of
the below instances:

http://www.pmwiki.org/wiki/Cookbook/ControllingWebRobots

  Newer versions of PmWiki (since 2.1.beta8) automatically return "403
> Forbidden" errors to robots for any action other than ?action=browse,
> ?action=rss, or ?action=dc. You can extend this functionality to cookie
> setting configuration actions like ?setskin=... etc or other queries in
> links by adding a dummy action to the link: ?action=set?setskin=... etc.
> PmWiki interpretes any action it does not know as action=browse, but since
> the action is not in the list of actions allowed for robots, robots get a
> "403 Forbidden" error page instead.
>

This same context is referenced in the mailing archives @
http://article.gmane.org/gmane.comp.web.wiki.pmwiki.user/23198


In the Traid Skin custom page "Site.StyleOptions" it is used quite often,
eg: "?action=set&setcolor=white"


Conspicuously, "?action=set" does NOT appear @
http://www.pmwiki.org/wiki/PmWiki/AvailableActions


>From everything I can see in how it is used in the Triad skin,
"?action=set" appears to set cookies for all subsequent key=value pairs.

Is this correct?
Is this documented somewhere?
Where is this handled in the code? I've grepped my eyes out, and can't find
it.
(I'm not a PHP intimate, but this doesn't appear to be core PHP, unlike,
say "$_COOKIE")


-Michael Paulukonis
http://www.xradiograph.com
 <http://goog_2112721603>Interference Patterns (a
blog)<http://www.xradiograph.com%5Cinterference>
@XraysMonaLisa <https://twitter.com/XraysMonaLisa>
http://michaelpaulukonis.com
<http://www.BestAndroidResources.com>

Sent from somewhere in the Cloud
(hearthrug, by the fender)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-devel/attachments/20130525/39ea9259/attachment.html>


More information about the pmwiki-devel mailing list