-
Couldn't load subscription status.
- Fork 177
Description
We should investigate why this is happening, and what those elements correspond to. If they are not the same we need to dig deeper for the cause.
This can happen if you have a redirect() in a page and you don't have a cacheHandler configured (or that get returns null). Next then gives you a Location which is an array of two elements that from my testing was the same. (i.e: Location: ["/target", "/target"];).
However, we thought we took care of this problem in this PR. It turns out there might be more cases where Next returns an array for the Location header. We need to identify all such cases and ensure we're selecting the correct value.