You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by gr...@apache.org on 2019/03/10 04:49:20 UTC

[incubator-superset] branch master updated: [fix] /superset/slice/id url is too long (#6989)

This is an automated email from the ASF dual-hosted git repository.

graceguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 6a4d507  [fix] /superset/slice/id url is too long (#6989)
6a4d507 is described below

commit 6a4d507ab607b01ed324cb3341b71c6fb2cb5c97
Author: Grace Guo <gr...@airbnb.com>
AuthorDate: Sat Mar 9 20:49:08 2019 -0800

    [fix] /superset/slice/id url is too long (#6989)
---
 superset/views/core.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/views/core.py b/superset/views/core.py
index 03d0b00..08d52f8 100755
--- a/superset/views/core.py
+++ b/superset/views/core.py
@@ -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'