mirror of https://github.com/apache/superset.git
[fix] /superset/slice/id url is too long (#6989)
This commit is contained in:
parent
0535a11fe6
commit
6a4d507ab6
|
@ -1111,7 +1111,7 @@ class Superset(BaseSupersetView):
|
||||||
if not slc:
|
if not slc:
|
||||||
abort(404)
|
abort(404)
|
||||||
endpoint = '/superset/explore/?form_data={}'.format(
|
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':
|
if request.args.get('standalone') == 'true':
|
||||||
endpoint += '&standalone=true'
|
endpoint += '&standalone=true'
|
||||||
|
|
Loading…
Reference in New Issue