Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

username in register page

[复制链接]
Dr.AM 发表于 2013-5-17 21:28:41 | 显示全部楼层 |阅读模式
when i try to register a username contains of two words between them a space a message came to me and told me that there is some blocked letters or something like this !

please told me how to fix it
 楼主| Dr.AM 发表于 2013-5-17 21:32:14 | 显示全部楼层
as you see in this image in discuz.net


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

1314学习网 发表于 2013-5-18 09:10:37 | 显示全部楼层
本帖最后由 1314学习网 于 2013-5-18 09:22 编辑

open file:uc_client\model\user.php

find:
  1. preg_match("/\s+|^c:\\con\\con|[%,\*"\s\<\>\&]|$guestexp/is"
复制代码
alter:
  1. preg_match("/^c:\\con\\con|[%,\*"\<\>\&]|$guestexp/is"
复制代码
允许空格注册好像不太好
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-3-6 03:01 , Processed in 0.030717 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表