Skip to content

Commit

Permalink
[form-data] Quoting form data (#3701)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-bodley authored and Grace Guo committed Oct 24, 2017
1 parent 18e9640 commit 9893847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset/views/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import re
import time
import traceback
from urllib import parse

import sqlalchemy as sqla

Expand Down Expand Up @@ -946,7 +947,7 @@ def slice(self, slice_id):
.format(
viz_obj.datasource.type,
viz_obj.datasource.id,
json.dumps(viz_obj.form_data)
parse.quote(json.dumps(viz_obj.form_data)),
)
)
if request.args.get("standalone") == "true":
Expand Down

0 comments on commit 9893847

Please sign in to comment.