Strictly match, at the beginning of the pipeline, "" (or "/", I never remember...) and call the LocaleAction only there. Then end the matcher just after without response. This will work if your users always start browsing your application through ".../myapp/", typically just after login as a homepage.
Now if you cannot be sure of this then, yes, something similar to the proposed patch in COCOON-1592 will enable you to set a "root" cookie from any subpath... Laurent ____________________________________________________________ • This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to which they are addressed. • Any unauthorized copying, disclosure, or distribution of the material within this email is strictly forbidden. • Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of Odyssey Financial Technologies SA unless otherwise specifically stated. • An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. • If you have received this email in error, please notify the sender immediately and delete the original.