Commit Graph

18 Commits (ea2f97e9ed8317dc9a62e45d9a807dca7e3700a5)

Author SHA1 Message Date
Kim Alvefur 1a2fdf3f7f util.format: Update tests for serialization changes 3 years ago
Kim Alvefur 14fceee089 tests: Remove special-casing of Lua 5.1 4 years ago
Kim Alvefur c551d3d8dd util.format: Skip control code escaping when doing full serialization 4 years ago
Kim Alvefur 58c9115351 util.format: Ensure metatable __tostring results are also sanitized 4 years ago
Kim Alvefur d482ece962 util.format: Fix some formats expecting positive numbers in Lua 5.2 4 years ago
Kim Alvefur 3d0844a4f5 util.format: ALL THE TESTS!!! 4 years ago
Kim Alvefur 0ddd204a27 util.format: Also handle the %p format added in Lua 5.4 4 years ago
Kim Alvefur 1eca4e8870 util.format: Ensure sanitation of strings passed to wrong format 4 years ago
Kim Alvefur d4c1451794 util.format: Escape invalid UTF-8 by passing trough serialization 4 years ago
Kim Alvefur 6e037dc045 util.format: Change formatting of nil values to avoid looking like XML 5 years ago
Kim Alvefur 3f1d93bb4e util.format: Escape ASCII control characters in output 5 years ago
Kim Alvefur 2661a6f5a3 util.format: Handle integer formats the same way on Lua versions without integer support 7 years ago
Kim Alvefur 236abc4afe util.format: Handle formats expecting an integer in Lua 5.3+ (fixes #1371) 7 years ago
Kim Alvefur f45bf94518 util.format: Add test coverage for case of extra nil argument 8 years ago
Kim Alvefur faf91e381d util.format: Fix tests to have expected value first 8 years ago
Kim Alvefur 0c4ad0fdbc util.format: Move tests to spec/ 8 years ago
Kim Alvefur 177420df39 util.format: Serialize values for the %q format 7 years ago
Kim Alvefur d007771f8d util.format: Tweak how nil values are handled 7 years ago