-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http.Request doesn't allow URL with spaces inside of it #6936
Comments
Which plugin does this belong to? |
The core plugins |
I think both browser engine and Python request lib encode the url properly on the backend. In Kestra you can use the urlencode Pebble function to manage such case properly |
let's explore during the cooldown if we can do that under the hood |
@loicmathieu would be cool if you could have a look during the cooldown. the question here is: could we check within the HTTP plugin if the URL contains spaces and if so, replace each |
It's a bug, URL must be URL encoded, not a cooldown investiguation. |
Describe the issue
This user wanted to make a HTTP Request using the variable
api_url
which contains spaces.Now this is a valid request when put into a browser and works with the
python
task however Kestra threw an error because of the space:It works if you replace the spaces with
%20
instead. Can we have the plugin do something like this automatically if the spaces exist like a browser does?Environment
The text was updated successfully, but these errors were encountered: