adminarchitect / core

AdminArchitect - Active Admin for Laravel
http://adminarchitect.com
MIT License
211 stars 66 forks source link

Prevent function calling by database value #76

Closed HAYASHI-Masayuki closed 4 years ago

HAYASHI-Masayuki commented 4 years ago

When callable string (e.g. PHP built-in function names, Laravel helper function names, etc) in database, and that string shows in edit form (like /cms/users/1/edit), that string called as function unintentionally.

This behavior may be slightly vulnerable.

PR fixes this behavior, but I don't know if this method is appropriate.

Related #46