authentication: 1.1.3 & SecurityComponent yield "Bad Request".

When I have time later I will provide steps to reproduce the error more specifically. For now, I will say that in Cake 3.7.9 and Authentication plugin 1.1.3, using default configuration in SecurityComponent, I get a “Bad Request” on all form posts.

Downgrading to the 1.1.2 version of the plugin resolves it.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Historically SecurityComponent did lot of security related stuff, for e.g. it handled CSRF protection too.

Currently it only provides form tampering protection and enforcing use of https for specific URLs. The latter is pretty simple to achieve, so in 4.x we should probably deprecate SecurityComponent and move the form tampering projection code into a new FormTamperingProtectionComponent.

@markstory I’ll do this tonight and let you know.

Thanks.

Thanks for jumping on this. I spent hours trying to figure this out.