mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[form-data] Quoting form data (#3701)
This commit is contained in:
parent
18e9640d99
commit
9893847991
@ -12,6 +12,7 @@ import pickle
|
|||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
from urllib import parse
|
||||||
|
|
||||||
import sqlalchemy as sqla
|
import sqlalchemy as sqla
|
||||||
|
|
||||||
@ -946,7 +947,7 @@ class Superset(BaseSupersetView):
|
|||||||
.format(
|
.format(
|
||||||
viz_obj.datasource.type,
|
viz_obj.datasource.type,
|
||||||
viz_obj.datasource.id,
|
viz_obj.datasource.id,
|
||||||
json.dumps(viz_obj.form_data)
|
parse.quote(json.dumps(viz_obj.form_data)),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if request.args.get("standalone") == "true":
|
if request.args.get("standalone") == "true":
|
||||||
|
Loading…
Reference in New Issue
Block a user