Welcome to Centmin Mod Community
Become a Member

Nginx [nginx-announce] njs-0.6.1

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Jun 30, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    48,487
    11,113
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,303
    Local Time:
    6:28 AM
    Nginx 1.21.x
    MariaDB 10.x
    Hello,

    This is a bugfix release that fixes RegExp matching for a regular expression
    containing UTF-8 characters. The matching of ASCII or byte string by UTF-8
    regexp was always negative.

    What methods were affected:
    - RegExp.prototype.exec() (since 0.4.2)
    - RegExp.protytype.test() (since 0.5.3)

    You can learn more about njs:

    - Overview and introduction: http://nginx.org/en/docs/njs/
    - NGINX JavaScript in Your Web Server Configuration:
    https://youtu.be/Jc_L6UffFOs
    - Extending NGINX with Custom Code: https://youtu.be/0CVhq4AUU7M
    - Using node modules with njs:
    http://nginx.org/en/docs/njs/node_modules.html
    - Writing njs code using TypeScript definition files:
    http://nginx.org/en/docs/njs/typescript.html

    Feel free to try it and give us feedback on:

    - Github: https://github.com/nginx/njs/issues
    - Mailing list: http://mailman.nginx.org/mailman/listinfo/nginx-devel


    Changes with njs 0.6.1 29 Jun 2021

    *) Bugfix: fixed RegExpBuiltinExec() with UTF-8 only regexps.
    The bug was introduced in 0.4.2.

    *) Bugfix: fixed parsing of export default declaration with
    non-assignment expressions.
    Thanks to Artem S. Povalyukhin.

    _______________________________________________
    nginx-announce mailing list
    nginx-announce@nginx.org
    http://mailman.nginx.org/mailman/listinfo/nginx-announce

    Continue reading...