Giter VIP home page Giter VIP logo

config's Issues

Security/Blackholed every time on POST

I've just updated to the latest commits (and moved the default view into my main app to override as instructed).

When I submit the config form it's being Blackholed everytime. If I remove the line

public $components = array('Security');

from ConfigAppController.php then it POSTs and updates the config data correctly. I believe I've had to do the same in the past.

Is this an issue related to the plugin or something I'm doing - I can't tell. Is there something that'll clearly tell me what's triggering the blackhole?

I can guess it's related to the fact that all the fields are user generate perhaps: http://book.cakephp.org/2.0/en/core-libraries/components/security-component.html

ConfigsController missing App::uses()

I wanted to extend ConfigsController in my application, but in order to do so the following line needed to be added to ConfigsController.php:

App::uses('ConfigAppController', 'Config.Controller');

It could also be added in my extending controller, but I think it belongs in ConfigsController.

I can fork and make a pull request if needed--just wanted to make sure you were aware. Thanks!

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.