[fix] /superset/slice/id url is too long (#6989)

This commit is contained in:
Grace Guo 2019-03-09 20:49:08 -08:00 committed by GitHub
parent 0535a11fe6
commit 6a4d507ab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1111,7 +1111,7 @@ class Superset(BaseSupersetView):
if not slc:
abort(404)
endpoint = '/superset/explore/?form_data={}'.format(
parse.quote(json.dumps(form_data)),
parse.quote(json.dumps({'slice_id': slice_id})),
)
if request.args.get('standalone') == 'true':
endpoint += '&standalone=true'