原帖由 "pureftpd的文档里" 发表:
Please note that a login can only contains common characters: A...Z, a...z,
0...9, -, ., _, space, :, @ and ' . For security purposes, other characters
are forbidden.
原帖由 "lakesun" 发表:
屏蔽那段代码就ok了~
不过这样以来ftp用户名就能支持所有字符了,包括*"'@#$%^&等特殊字符。准备过两天重新改一下,把控制字符都屏蔽掉,这样安全性要高点~
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |