Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/scriptform/commit/7a21d6b5f5b636d5cb315238ff64c984491823d1?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

Max split once on htauth password. Prevents failure when password contains colon (:)

pull/7/head
Ferry Boender 8 years ago
parent 5183c6386a
commit 7a21d6b5f5
  1. 2
      src/webapp.py

@ -195,7 +195,7 @@ class ScriptFormWebApp(RequestHandler):
if auth_header is not None:
# Validate the username and password
auth_unpw = auth_header.split(' ', 1)[1]
username, password = base64.decodestring(auth_unpw).split(":")
username, password = base64.decodestring(auth_unpw).split(":", 1)
pw_hash = hashlib.sha256(password).hexdigest()
if username in form_config.users and \

Loading…
Cancel
Save