# HG changeset patch # User Marcin Kuzminski # Date 2018-12-10 16:33:14 # Node ID 8bad3b77f193e72e503ada40c55f000c590e0403 # Parent a2b3593d6d930348264e9ee8722ae653b61ba9bf system-info: ensure safe read of base_url in case it's not set. diff --git a/rhodecode/apps/admin/views/system_info.py b/rhodecode/apps/admin/views/system_info.py --- a/rhodecode/apps/admin/views/system_info.py +++ b/rhodecode/apps/admin/views/system_info.py @@ -96,7 +96,7 @@ class AdminSystemInfoSettingsView(BaseAp # RhodeCode specific (_('RhodeCode Version'), val('rhodecode_app')['text'], state('rhodecode_app')), (_('Latest version'), version, update_state), - (_('RhodeCode Base URL'), val('rhodecode_config')['config']['app.base_url'], state('rhodecode_config')), + (_('RhodeCode Base URL'), val('rhodecode_config')['config'].get('app.base_url'), state('rhodecode_config')), (_('RhodeCode Server IP'), val('server')['server_ip'], state('server')), (_('RhodeCode Server ID'), val('server')['server_id'], state('server')), (_('RhodeCode Configuration'), val('rhodecode_config')['path'], state('rhodecode_config')),