Correctly handle "values" in web/pgadmin/__init__.py -> strip_version_number which can be None in some cases and will cause exception when None
parent
0a8d7a37b9
commit
ff87cf5544
|
@ -629,7 +629,7 @@ def create_app(app_name=None):
|
|||
# required for cache busting only
|
||||
@app.url_value_preprocessor
|
||||
def strip_version_number(endpoint, values):
|
||||
if (config.APP_VERSION_PARAM in values):
|
||||
if values and config.APP_VERSION_PARAM in values:
|
||||
values.pop(config.APP_VERSION_PARAM)
|
||||
|
||||
##########################################################################
|
||||
|
|
Loading…
Reference in New Issue