When using this, the thing you must watch out for are multivalued CGI parameters. Because a hash cannot distinguish between scalar and list context, multivalued parameters will be returned as a packed string, separated by the "\0" (null) character. (source)
但问题是在很多脚本语言中\0并不具有C中同样的特殊地位:
print length("a\0b"); #perl
alert("a\0b".length) //javascript
输出是3,这样不会有问题么?
