U4-10363 - 417 missing token error due to invalid cookie name

Created by Sebastiaan Janssen 28 Aug 2017, 18:25:08 Updated by Shannon Deminick 29 Aug 2017, 01:12:28

Relates to: U4-9873

Subtask of: U4-9609

See U4-9873 - due to cookie names that can't be parsed by HttpRequestHeadersExtensions.GetCookies() - the backoffice can't load.

There are more reasons why you'd get a 417 error, but this is one of the largest reasons.

FYI: Problem was introduced in v7.3.2 - https://github.com/umbraco/Umbraco-CMS/commit/18c3345e47663a358a042652e697b988d6a380eb

Comments

Sebastiaan Janssen 28 Aug 2017, 18:38:29

PR: https://github.com/umbraco/Umbraco-CMS/pull/2154


Shannon Deminick 29 Aug 2017, 01:12:19

I updated the PR:

  • Moved the code to extension method
  • Updated the code to perform a lot better (we read cookies very often)
  • Added unit tests
  • Posted update on SO :)


Priority: Normal

Type: Bug

State: Fixed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.4.0, 7.5.0, 7.6.0, 7.3.2, 7.3.3, 7.3.4, 7.4.1, 7.3.5, 7.3.6, 7.3.7, 7.3.8, 7.4.2, 7.4.3, 7.5.1, 7.5.2, 7.5.3, 7.5.4, 7.5.5, 7.5.6, 7.5.7, 7.5.8, 7.5.9, 7.5.10, 7.5.11, 7.5.12, 7.5.13, 7.6.1, 7.5.14, 7.6.2, 7.6.3, 7.6.4, 7.6.5

Due in version: 7.6.6

Sprint: Sprint 66

Story Points:

Cycle: