Base solution for your next web application
Open Closed

Language change does not work when hosted behind Cloudflare #12079


User avatar
0
MellowoodMedical created

Hi, We are experiencing the following issue while running our system on IIS behind Cloudflare firewall: Abp.Localization.CultureName value being stripped off from the cookie header when we inspect server requests on the server using WireShark sniffer. We found similar ticket regarding ABP.TenantId and the solution of customizing the name of the cookie to remove dot character which is not allowed by Cloudflare. https://github.com/aspnetboilerplate/aspnetboilerplate/pull/4349. Is there a way to customize Abp.Localization.CultureName to prevent stripping off by the firewall. Thanks! We are using Angular +ASP.Net core v13


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think if you set CookieRequestCultureProvider.DefaultCookieName to something else without ".", it should work. Could you try that ?

  • User Avatar
    0
    MellowoodMedical created

    Sure, We are going to try this. Many thanks!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Please let us know id it doesn't work.