superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grace...@apache.org
Subject [incubator-superset] branch master updated: [fix] /superset/slice/id url is too long (#6989)
Date Sun, 10 Mar 2019 04:49:20 GMT
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 <grace.guo@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'


Mime
View raw message