assachs

Results 3 comments of assachs

I think the max value should be printed: if spec.max_value and value > spec.max_value: raise ValidationError(f'{inverter_value.name} {value=!r} is greater than {**spec.min_value!r}**')

The error message is wrong. The min value is printed but the max value is the problem.

I'm not sure if i missed something. In DefaultCSPSettings, when creating the poplicy format, the nonce is always taken from the session ` return format(policyFormatBuilder.toString(), **getNonceString(request));** } protected String getNonceString(HttpServletRequest...