You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pebble can be configured to forbid access to java's class object through allowGetClass flag. Which by default in 3.+ is set to false. However, this can be bypassed by using any combination of casing that does not match the one from java. i.e.
{{ object.class }} <- will throw ClassAccessException ✅
{{ object.getClass }} <- will throw ClassAccessException ✅
{{ object.CLASS }}⚠️
{{ object.Class }}⚠️
{{ object.getclass }}⚠️
The text was updated successfully, but these errors were encountered:
Pebble can be configured to forbid access to java's class object through
allowGetClass
flag. Which by default in3.+
is set to false. However, this can be bypassed by using any combination of casing that does not match the one from java. i.e.{{ object.class }}
<- will throwClassAccessException
✅{{ object.getClass }}
<- will throwClassAccessException
✅{{ object.CLASS }}
{{ object.Class }}
{{ object.getclass }}
The text was updated successfully, but these errors were encountered: