Skip to content

Commit

Permalink
[fix] /superset/slice/id url is too long (#6989)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored Mar 10, 2019
1 parent 0535a11 commit 6a4d507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ def slice(self, slice_id):
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'
Expand Down

0 comments on commit 6a4d507

Please sign in to comment.