Change record status: 
Project: 
Introduced in branch: 
8.x-5.x
Introduced in version: 
8.x-5.0-rc13
Description: 

Webform submission value tokens support url encoding. This allows tokens to be used safely in confirmation redirect URLs.

For example:

[webform_submission:values:email] returns 'example@example.com'
[webform_submission:values:email:urlencode] returns 'example%40example.com'

Impacts: 
Site builders, administrators, editors

Comments

alejo-moreno’s picture

This is a great and almost default utility for confirmation redirect URLs, however the [webform_submission:values:element_key:urlencode] token is not present on the "Available tokens" list. I would like to contribute adding this to the doc list. is this part of the token module or webform module?