Skip to content

Commit

Permalink
Merge pull request home-assistant#1807 from balloob/release-0.17.3
Browse files Browse the repository at this point in the history
0.17.3
  • Loading branch information
balloob committed Apr 12, 2016
2 parents c98b56a + 4023021 commit 3de51bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion homeassistant/components/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
HTTP_HEADER_CONTENT_LENGTH, HTTP_HEADER_CONTENT_TYPE, HTTP_HEADER_EXPIRES,
HTTP_HEADER_HA_AUTH, HTTP_HEADER_VARY, HTTP_METHOD_NOT_ALLOWED,
HTTP_NOT_FOUND, HTTP_OK, HTTP_UNAUTHORIZED, HTTP_UNPROCESSABLE_ENTITY,
SERVER_PORT)
SERVER_PORT, URL_ROOT, URL_API_EVENT_FORWARD)

DOMAIN = "http"

Expand Down Expand Up @@ -207,6 +207,10 @@ def _handle_request(self, method): # pylint: disable=too-many-branches
self.server.api_password or
self.verify_session())

# we really shouldn't need to forward the password from here
if url.path not in [URL_ROOT, URL_API_EVENT_FORWARD]:
data.pop(DATA_API_PASSWORD, None)

if '_METHOD' in data:
method = data.pop('_METHOD')

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/const.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8
"""Constants used by Home Assistant components."""

__version__ = "0.17.2"
__version__ = "0.17.3"
REQUIRED_PYTHON_VER = (3, 4)

PLATFORM_FORMAT = '{}.{}'
Expand Down

0 comments on commit 3de51bf

Please sign in to comment.