惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

博客园 - 苔苔以苔苔以苔

笔记本连接无线网络,提示受限 js中typeof(var) !==和typeof(var) !=的区别 【已验证】帝国cms 里 栏目列表模板获取同级栏目 mysql如何修改导入数据库文件大小限制 错误分析及解决办法---MySQL server has gone away IIS支持flv文件,或者映射其他扩展名到指定的文件类型 JQuery使用getJSON跨域调用数据 php中删除超链接的正则表达式 MySql中distinct的用法 更改表自动递增值的sql 删除文件bom的php代码 win2003系统+IIS6下,经常出现w3wp.exe和sqlserver.exe的内存占用居高不下 JS中Null与Undefined的区别 如何添加修改uchome创始人 忘记Ucenter创始人密码的最快速解决方法 因为做QQ登录用到session,没想就报错了 匹配中文字符的正则表达式 MySQL字符串相加函数如何运行?似曾相识还是记一笔吧 js获取当前域名及当前页面网址
qq登录整合帝国cms+ucenter后会提示用户名不合法
苔苔以苔苔以苔 · 2012-05-22 · via 博客园 - 苔苔以苔苔以苔

原本是用帝国cms整合了ucenter,现在加入QQ登录以后很多QQ用户直接登录会提示

用户名不合法 

function check_username($username) {
                //$guestexp = '\xA1\xA1|\xAC\xA3|^Guest|^\xD3\xCE\xBF\xCD|\xB9\x43\xAB\xC8';
                //$len = strlen($username);
                //if($len > 15 || $len < 3 || preg_match("/\s+|^c:\\con\\con|[%,\*\"\s\<\>\&]|$guestexp/is", $username)) {
                //        return FALSE;
                //} else {

                        return TRUE;
                //} 

        } 

 修改/e/client/model/user.php

可以从演示站直接覆盖这文件给用户

ucenter 用户名有挺多限制,而QQ的用户名是很多中文特殊字符的不符合ucenter的限制导致