Software / code / prosody
Comparison
util/format.lua @ 12261:f7946c8e502f
util.format: Fix typo in comment [codespell]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 04 Feb 2022 16:40:38 +0100 |
| parent | 12221:056b7920b686 |
| child | 12573:0f4feaf9ca64 |
comparison
equal
deleted
inserted
replaced
| 12260:e729c994e7c7 | 12261:f7946c8e502f |
|---|---|
| 1 -- | 1 -- |
| 2 -- A string.format wrapper that gracefully handles invalid arguments since | 2 -- A string.format wrapper that gracefully handles invalid arguments since |
| 3 -- certain format string and argument combinations may casue errors or other | 3 -- certain format string and argument combinations may cause errors or other |
| 4 -- issues like log spoofing | 4 -- issues like log spoofing |
| 5 -- | 5 -- |
| 6 -- Provides some protection from e.g. CAPEC-135, CWE-117, CWE-134, CWE-93 | 6 -- Provides some protection from e.g. CAPEC-135, CWE-117, CWE-134, CWE-93 |
| 7 | 7 |
| 8 local tostring = tostring; | 8 local tostring = tostring; |