Skip to content

Javascript to encode / decode email addresses uses deprecated 'unescape' function #3910

@jcogs-design

Description

@jcogs-design

Description of the problem
The methods that encode email field type addresses ({encode} and {email_address:mail_to ... } make use of the javascript unescape function.

This function is deprecated in favour of the decodeURIComponent function.

Solution
It should be possible to simply replace the deprecated method with the modern replacement in the embedded javascript (which is set in ft.email_address.php).

Metadata

Metadata

Assignees

Labels

javascriptPull requests that update Javascript code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions