{"action":"opened","issue":{"url":"https://api.github.com/repos/cherrypy/cherrypy/issues/1608","repository_url":"https://api.github.com/repos/cherrypy/cherrypy","labels_url":"https://api.github.com/repos/cherrypy/cherrypy/issues/1608/labels{/name}","comments_url":"https://api.github.com/repos/cherrypy/cherrypy/issues/1608/comments","events_url":"https://api.github.com/repos/cherrypy/cherrypy/issues/1608/events","html_url":"https://github.com/cherrypy/cherrypy/issues/1608","id":241498147,"number":1608,"title":"cherrypy.config.update does not allow mixing 'global' header with others","user":{"login":"josejulio","id":3845764,"avatar_url":"https://avatars2.githubusercontent.com/u/3845764?v=3","gravatar_id":"","url":"https://api.github.com/users/josejulio","html_url":"https://github.com/josejulio","followers_url":"https://api.github.com/users/josejulio/followers","following_url":"https://api.github.com/users/josejulio/following{/other_user}","gists_url":"https://api.github.com/users/josejulio/gists{/gist_id}","starred_url":"https://api.github.com/users/josejulio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josejulio/subscriptions","organizations_url":"https://api.github.com/users/josejulio/orgs","repos_url":"https://api.github.com/users/josejulio/repos","events_url":"https://api.github.com/users/josejulio/events{/privacy}","received_events_url":"https://api.github.com/users/josejulio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-09T03:51:38Z","updated_at":"2017-07-09T03:51:38Z","closed_at":null,"body":"* **I'm submitting a ...**\r\n[x ] bug report\r\n[ ] feature request\r\n[ ] question about the decisions made in the repository\r\n\r\n* **Do you want to request a *feature* or report a *bug*?**\r\nReport a bug\r\n\r\n\r\n* **What is the current behavior?**\r\nCalling `cherrypy.config.update('config/global.conf')`\r\nwith file:\r\n```\r\n[global]\r\nserver.socket_host = '0.0.0.0'\r\nserver.socket_port = 8081\r\n\r\n[jwt]\r\nalg = \"ES512\"\r\n```\r\nignores `jwt` header\r\n\r\n* **If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of the problem**.\r\n\r\n\r\n\r\n* **What is the expected behavior?**\r\nI expected to configure the socket host and also the `config['jwt']['alg']'`\r\n\r\n\r\n* **What is the motivation / use case for changing the behavior?**\r\nHaving a single global config file\r\n\r\n\r\n* **Please tell us about your environment:**\r\n\r\n- Python version: Python 2.7.13\r\n- OS: Fedora 25\r\n- Browser: all\r\n\r\n\r\n\r\n* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, e.g. stackoverflow, gitter, etc.)\r\n[Config.apply](https://github.com/cherrypy/cherrypy/blob/master/cherrypy/_cpconfig.py#L165) could move `global` in config root and leave everything else as is or allow having non-header configurations.\r\n"}}
{"actor":{"display_login":"josejulio"}}