Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21ed8daef01ceb4

Jump to content

Module talk:I18n

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 6 years ago by Thayts in topic Request for a more resilient check

Request for a more resilient check

[edit]

This module does the check next(res) ~= nil to see if the res table is not empty, and then references res.i18n assuming that that key exists and contains a table. However, as we have seen recently, this causes errors if that assumption fails. A more resilient check would be type(res.i18n) == "table". Thayts ••• 21:19, 30 September 2019 (UTC)Reply