Explorar o código

Add a minimal description of mg.url_decode

Add a mimimal comment to the UserManual about the Lua function mg.url_decode
See #228

A more comprehensive documentation has to be added later.
bel %!s(int64=9) %!d(string=hai) anos
pai
achega
d516696195
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/UserManual.md

+ 1 - 1
docs/UserManual.md

@@ -486,7 +486,7 @@ mg (table):
     mg.get_mime_type(filename) -- get MIME type of a file
     mg.send_file(filename)     -- send a file, including MIME type
     mg.url_encode(str)         -- URL encode a string
-    mg.url_decode(str)         -- URL decode a string
+    mg.url_decode(str, [form]) -- URL decode a string. If form=true, replace + by space.
     mg.base64_encode(str)      -- BASE64 encode a string
     mg.base64_decode(str)      -- BASE64 decode a string
     mg.md5(str)                -- return the MD5 hash of a string