diff options
author | Florian Pritz <bluewind@xinu.at> | 2020-10-07 14:03:34 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2020-10-07 14:04:47 +0200 |
commit | 3122bc42eb59b005bc5e5036480e1116c0b59a49 (patch) | |
tree | 2dc85dee39c634100850b2b263a6ce3aff1dc54c /public_html/index.php | |
parent | 4bdbb005a9b214d5355d4f2036d510f898bc8a87 (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 'public_html/index.php')
0 files changed, 0 insertions, 0 deletions