Commit Graph

4 Commits (f02d97023843496a7e20fd85c3ae10c560946df7)

Author SHA1 Message Date
John Keeping 17f9d2003a Make Handler::before() hierarchy consistent
In API, the before() method (inherited from Handler) takes a $method
argument, although this is not declared for the before method() in
handler.  PHP in strict mode treats this as an error.

Since call sites already pass the $method argument, change
Handler::before() and the before() method in all other subclasses to
take this argument.
12 years ago
Andrew Dolgov 8484ce2258 experimental CSRF protection 13 years ago
Andrew Dolgov 3f3630529e implement tiny-OOP routing 13 years ago
Andrew Dolgov d51124689d add tiny-OOP style backend RPC 13 years ago