Closed minusf closed 2 years ago
Non-existing models are not handled. From a recent security scan against our site:
Exception Type: LookupError at /c/post/ Exception Value: App 'wagtailcore' doesn't have a 'page' AND 1='1/*' model.
apps.get_model returns LookupError for non-existing models. This is not handled in the code.
apps.get_model
LookupError
ah this was actually fixed in 4da9d1f. sorry for the noise!
Non-existing models are not handled. From a recent security scan against our site:
apps.get_model
returnsLookupError
for non-existing models. This is not handled in the code.