Private Methods Can Be Run As Actions
Reported by Matt Todd | April 28th, 2008 @ 03:34 AM | in Release 0.5.0
Defining methods private doesn't disqualify as being runnable, though they may even through exceptions. Halcyon's dispatcher should only check for public_methods
and return a 404 Not Found
if no public method is found.
Comments and changes to this ticket
-
Matt Todd May 6th, 2008 @ 11:47 PM
- State changed from new to resolved
(from [d557d43e179c3e310a8a458c7102c0121fd1ca79]) Added test to make sure private methods are not dispatchable. (Who knew Object.methods only returned public methods.)
[#29 state:resolved]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.