diff options
author | Tibor Frank <tifrank@cisco.com> | 2022-05-12 11:50:06 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2022-05-12 11:50:06 +0200 |
commit | c80743e34d93cb691c66f27b8c17bfcbedada366 (patch) | |
tree | 30ea7faab2e48fbfeff86fdac8a4172e1a0d21bc /resources/tools/dash/app/pal/data | |
parent | 735853394ad417b9f72e32a31524934e79e76fab (diff) |
feat(uti): Trending - add encoded and zipped url
Change-Id: I0148999ed5fe3f7e51078545b88e2bb2d2481884
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/dash/app/pal/data')
-rw-r--r-- | resources/tools/dash/app/pal/data/url_processing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/tools/dash/app/pal/data/url_processing.py b/resources/tools/dash/app/pal/data/url_processing.py index e74eb41689..22cd034dfd 100644 --- a/resources/tools/dash/app/pal/data/url_processing.py +++ b/resources/tools/dash/app/pal/data/url_processing.py @@ -29,7 +29,7 @@ def url_encode(params: dict) -> str: url_params = params.get("params", None) if url_params: encoded_params = urlsafe_b64encode( - compress(urlencode(url_params).encode("utf-8")) + compress(urlencode(url_params).encode("utf-8"), level=9) ).rstrip(b"=").decode("utf-8") else: encoded_params = str() |