Coder Social home page Coder Social logo

Cookie “NG_TRANSLATE_LANG_KEY” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. about angular-translate HOT 9 CLOSED

chickahoona avatar chickahoona commented on June 8, 2024
Cookie “NG_TRANSLATE_LANG_KEY” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute.

from angular-translate.

Comments (9)

knalli avatar knalli commented on June 8, 2024 1

Fixed. Looks like I have to check my scripts again.. :/

from angular-translate.

knalli avatar knalli commented on June 8, 2024

Hi @chickahoona , thank you for reporting. Are you able to fix this here in a small PR?

from angular-translate.

chickahoona avatar chickahoona commented on June 8, 2024

I could. Just for my understanding. Is that cookie store used somewhere else or only for this NG_TRANSLATE_LANG_KEY ? If its not used anywhere else, my proposed fix would be to add samesite: "strict" or Lax as default

from angular-translate.

knalli avatar knalli commented on June 8, 2024

from angular-translate.

chickahoona avatar chickahoona commented on June 8, 2024

Done

from angular-translate.

knalli avatar knalli commented on June 8, 2024

Thank you very much.

Picked 4bbbd6a

from angular-translate.

knalli avatar knalli commented on June 8, 2024

As a reminder for future requests of other people: If someone needs other/specific settings except fixing basic/security things like that, simply create your own storage plugin just like the cookie is actually. For example a more strict version, different naming, fallback strategies and so on.

from angular-translate.

knalli avatar knalli commented on June 8, 2024

:shipit: 2.18.4

from angular-translate.

chickahoona avatar chickahoona commented on June 8, 2024

@knalli Sorry to bother you again, could I get here a tag for 2.18.4 https://github.com/angular-translate/bower-angular-translate

from angular-translate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.