Switch branches/tags
release/2017-10-28.13 release/2017-10-28.12 release/2017-10-28.11 release/2017-10-28.10 release/2017-10-28.09 release/2017-10-28.08 release/2017-10-28.07 release/2017-10-28.06 release/2017-10-28.05 release/2017-10-28.04 release/2017-10-28.03 release/2017-10-28.02 release/2017-10-28.01 release/2017-10-07.18 release/2017-10-07.17 release/2017-10-07.16 release/2017-10-07.15 release/2017-10-07.14 release/2017-10-07.13 release/2017-10-07.12 release/2017-10-07.11 release/2017-10-07.10 release/2017-10-07.09 release/2017-10-07.08 release/2017-10-07.07 release/2017-10-07.06 release/2017-10-07.05 release/2017-10-07.04 release/2017-10-07.03 release/2017-10-07.02 release/2017-10-07.01 release/2017-09-16.21 release/2017-09-16.20 release/2017-09-16.19 release/2017-09-16.18 release/2017-09-16.17 release/2017-09-16.16 release/2017-09-16.15 release/2017-09-16.14 release/2017-09-16.13 release/2017-09-16.12 release/2017-09-16.11 release/2017-09-16.10 release/2017-09-16.09 release/2017-09-16.08 release/2017-09-16.07 release/2017-09-16.06 release/2017-09-16.05 release/2017-09-16.04 release/2017-09-16.03 release/2017-09-16.02 release/2017-09-16.01 release/2017-08-26.36 release/2017-08-26.35 release/2017-08-26.34 release/2017-08-26.33 release/2017-08-26.32 release/2017-08-26.31 release/2017-08-26.30 release/2017-08-26.29 release/2017-08-26.28 release/2017-08-26.27 release/2017-08-26.26 release/2017-08-26.25 release/2017-08-26.24 release/2017-08-26.23 release/2017-08-26.22 release/2017-08-26.21 release/2017-08-26.20 release/2017-08-26.19 release/2017-08-26.18 release/2017-08-26.17 release/2017-08-26.16 release/2017-08-26.15 release/2017-08-26.14 release/2017-08-26.13 release/2017-08-26.12 release/2017-08-26.11 release/2017-08-26.10 release/2017-08-26.09 release/2017-08-26.08 release/2017-08-26.07 release/2017-08-26.06 release/2017-08-26.05 release/2017-08-26.04 release/2017-08-26.03 release/2017-08-26.02 release/2017-08-26.01 release/2017-08-05.24 release/2017-08-05.23 release/2017-08-05.22 release/2017-08-05.21 release/2017-08-05.20 release/2017-08-05.19 release/2017-08-05.18 release/2017-08-05.17 release/2017-08-05.16 release/2017-08-05.15 release/2017-08-05.14 release/2017-08-05.13
Nothing to show
Find file History
Pull request Compare This branch is 420 commits ahead, 8668 commits behind stable.
Latest commit ba72375 Oct 10, 2017 @djbender djbender enable better_errors for development part two
This re-enables better_errors with an opt in policy for
binding_of_caller (which powers the browser REPL) to safeguard
by defautl against RCE with tools like ssh, ngrok or localtunnel

The key for enabling the console is BETTER_ERRORS_ENABLE_CONSOLE
and the key for disabling better_errors altogether is
BETTER_ERRORS_DISABLE.

Docker users: set your TRUSTED_IP address in your environment
variables to access better errors in you web container.

fixes: GRADE-156

test plan:
 - by default, no live REPL console should be present when the
   error page is present (e.g. /accounts/0)
 - given BETTER_ERRORS_ENABLE_CONSOLE=true
 - the live REPL console is now present
 - given BETTER_ERRORS_DISABLE=true
 - the better errors page is not displayed (e.g. /accounts/0)

Change-Id: Ia259bc466136d678aa0b33047dda5f2aa0b3c28d
Reviewed-on: https://gerrit.instructure.com/95120
QA-Review: Keith T. Garner <kgarner@instructure.com>
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>