byzer-org / byzer-notebook

Apache License 2.0
46 stars 34 forks source link

Support decode sql which encryped by base64 #189

Closed allwefantasy closed 1 year ago

allwefantasy commented 1 year ago

When the Byzer script delivered from browser , it may trigger the interceptor of firewall in server. So we need to encode sql field in browser and then decode in notebook backend.

We add a new request flag encType, when encType is set and the value is base64, then the notebook backend will try to decode sql field and then execute it.