Git Product home page Git Product logo

Comments (4)

Seldaek avatar Seldaek commented on July 22, 2024

sounds like a BC break indeed, but I think the only thing that would need changing is the merging rule so that your local definitions go before the included ones and not after (or is it overriding completely right now? I am not even sure.)

I think having a first match wins policy still is a good idea, because that's easier to reason about.

from nelmiosecuritybundle.

montaniasystemab avatar montaniasystemab commented on July 22, 2024

When i debugged it last week the rules were getting merged but I'm not sure which code does it.

Reversing the merging to be local first would also make my use case possible.

from nelmiosecuritybundle.

stof avatar stof commented on July 22, 2024

The order of the merge comes from the Config component, and it is not configurable.

Allowing multiple rules would be a BC break, and it makes it very hard to write a rule applied for all cases except a few ones. with a first-match-wins, it is easy: just add another rule before with the special case.

from nelmiosecuritybundle.

franmomu avatar franmomu commented on July 22, 2024

I think we can close this one, the nelmio_security.clickjacking.paths parameter could be also overriden.

from nelmiosecuritybundle.

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.