Translations

Translations:Secure coding guidelines/24/zh-tw

From Joomla! Documentation

INT, INTEGER 相當於 JInput->getInt.
UINT Get an unsigned integer. 相當於 JInput->getUint.
FLOAT, DOUBLE 相當於 JInput->getFloat.
BOOL, BOOLEAN 相當於 JInput->getBool.
WORD 相當於 JInput->getWord.
ALNUM 僅允許 alphanumeric 字元 (a-z, A-Z, 0-9). 相當於 JInput->getAlnum.
CMD 相當於 JInput->getCmd.
BASE64 僅允許可以被呈現於base64編碼的字元 (也就是 a-z, A-Z, 0-9, /, + 和 =)。相當於 JInput->getBase64.
STRING 相當於 JInput->getString.
ARRAY Source is not filtered but is cast to array type. When using this type you should use JFilterInput directly to filter the values in your data array.
HTML 經過安全處理的字串,相當於 JInput->getHtml.
PATH Valid pathname regex that filters out common attacks. 例如,any path beginning with a "/" will return an empty string. Simliarly, any path containing "/./" or "/../" will return an empty string. Dots within filenames are okay though. 相當於 JInput->getPath.
USERNAME 移除 control 字元 (0x00 - 0x1F), 0x7F, <, >, ", ', % and &. 相當於 JInput->getUsername.