encodeURIComponent() with velocity
How can I encode a url with velocity? I have some situations where the data needed in a uri has whitespace. How can I overcome this?
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 26 Jan, 2015 01:46 PM
Hi Joseph,
You should be able to use the
$_EscapeTool.url()
method to encode URI values with the appropriate escape sequence.Please let me know if you have any questions.
Thanks!
Ryan Griffith closed this discussion on 29 Jan, 2015 03:04 PM.