There is a client who is using the module who are finding that the headers being generated for the CMS backend contain a nonce value when these should be omitted for CMS backend routes due to Optimizely code not being optimized to work for NOnce.
Currently the code looks for and replaces/removes a value of ##NONCE## within the CMS with the correctly generated NOnce for the request. It appears as though the generated value may be getting added into the cache.
Suggested solution: instead of caching the headers with an ##NONCE## placeholder, generate it in the format that will normally be used and then regex replace the nonce value for the specific request or regex replace it if it needs to be removed.
Note: I have not been able to reproduce this issue yet.
There is a client who is using the module who are finding that the headers being generated for the CMS backend contain a nonce value when these should be omitted for CMS backend routes due to Optimizely code not being optimized to work for NOnce.
Currently the code looks for and replaces/removes a value of
##NONCE##
within the CMS with the correctly generated NOnce for the request. It appears as though the generated value may be getting added into the cache.Suggested solution: instead of caching the headers with an
##NONCE##
placeholder, generate it in the format that will normally be used and then regex replace the nonce value for the specific request or regex replace it if it needs to be removed.Note: I have not been able to reproduce this issue yet.