-
Notifications
You must be signed in to change notification settings - Fork 779
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
urldecode function #1234
Comments
Hey, @simongottschlag I would like to take up this issue. |
Hi @sshiv5768! Go for it 😊⭐️ |
Thanks, @simongottschlag. From where i can get started to work on this issue? |
Not sure myself, haven't looked into it deeper. But I would guess you can start with the urlencode function and work your way from there 😊 opentofu/internal/lang/funcs/encoding.go Line 280 in 80f72ce
|
Hi @sshiv5768 thank you for volunteering for this issue, I've assigned you. Could you please let us know roughly by when you estimate this will be finished? We ask this so we can assign other community members who want to work on this issue in case we don't hear back from you. |
@janosdebugs Could you please assign this task to me? I've already written the code. |
Hi @pooriaghaedi, normally (as per our contribution guide) we ask people to not attempt work until an issue is assigned to them to reduce duplicated efforts. However in this case it looks like @sshiv5768 has not responded so I am happy to be flexible and assign you this issue. Thank you, and in the future please reach out to us to get issues assigned to you first! :D |
Signed-off-by: Pooria Ghaedi <pooria.ghaedi@gmail.com>
Hi @Yantrio, |
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
* add urldecode function (opentofu#1234) Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com> * add urldecode function (opentofu#1234) Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com> * add urldecode function (opentofu#1234) Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com> --------- Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com> Signed-off-by: Ashwin Annamalai <4549937+IgnorantSapient@users.noreply.github.com>
OpenTofu Version
Use Cases
There are some scenarios where we need to urldecode strings. My scenario is extracting the token from the uri of
azurerm_automation_webhook
, urldecoding the token and then passing it to aazurerm_logic_app_action_http
.Attempted Solutions
Right now, I have to do something like
replace(replace(replace(local.webhook_token, "%3d", "="), "%2f", "/"), "%2b", "+")
- but would be really nice to have the function.Proposal
Add
urldecode()
function.References
urlencode
already exists: https://developer.hashicorp.com/terraform/language/functions/urlencodeThe text was updated successfully, but these errors were encountered: