• Resolved Anonymous User 16052280

    (@anonymized-16052280)


    Hi guys,

    After updating WPForms I’m seeing a new script loading in my pages: punycode.min.js
    Can you provide some info on what this file does? Is it necessary in order for WPForms to run correctly?

    For page load speed purposes I am keeping track of the files being loaded.

    Thank you,
    Andrei

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @andrei0luca ,

    The JS file punycode.min.js is a core file of WPForms which can be found under /wp-content/plugins/wpforms-lite/assets/js/

    The file is a type of converter and is needed for WPForms to work normally. As per https://nodejs.org/api/punycode.html

    “`Punycode is a character encoding scheme defined by RFC 3492 that is primarily intended for use in Internationalized Domain Names. Because host names in URLs are limited to ASCII characters only, Domain Names that contain non-ASCII characters must be converted into ASCII using the Punycode scheme. For instance, the Japanese character that translates into the English word, ‘example’ is ‘例’. The Internationalized Domain Name, ‘例.com’ (equivalent to ‘example.com’) is represented by Punycode as the ASCII string ‘xn--fsq.com’.

    You can wait for a WPForms moderator for a more clear answer on this.

    Do let me know if you find the information shared useful.

    Take Care 🙂

    Plugin Support Kenneth Macharia

    (@kmacharia)

    Hey @andrei0luca and @rizwan681

    The Punycode library was recently introduced in the latest version 1.6.9. You can see the complete changelog on this page.

    Added: Punycode support for the Email field to allow using international domain names.

    This adds support for emails (addresses that use non-latin domains) within the email allowlist/denylist. This also improves the working of email suggestions on the email field.

    I hope this helps! 🙂

    Thread Starter Anonymous User 16052280

    (@anonymized-16052280)

    @rizwan681 Thank you for the useful information !

    Thread Starter Anonymous User 16052280

    (@anonymized-16052280)

    @kmacharia Thank you !

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘punycode.min.js’ is closed to new replies.