summaryrefslogtreecommitdiffstats
path: root/application/controllers/Main.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-10-07 14:03:34 +0200
committerFlorian Pritz <bluewind@xinu.at>2020-10-07 14:04:47 +0200
commit3122bc42eb59b005bc5e5036480e1116c0b59a49 (patch)
tree2dc85dee39c634100850b2b263a6ce3aff1dc54c /application/controllers/Main.php
parent4bdbb005a9b214d5355d4f2036d510f898bc8a87 (diff)
API: Only consider public methods as API endpoints
We are not only interested in checking if a method exists here, but really also if it can be called (e.g. if it is public). Private methods should not be considered as potential API endpoints. Before this, private methods could be called, leading to a 500 error due to a call to the private method. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/Main.php')
0 files changed, 0 insertions, 0 deletions