php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59815 one cannot edit an user with 2 char long username
Submitted: 2011-06-14 08:36 UTC Modified: 2011-06-14 08:37 UTC
From: tyrael@php.net Assigned: tyrael (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 7 = ?
Subscribe to this entry?

 
 [2011-06-14 08:36 UTC] tyrael@php.net
Description:
------------
public_html/account-edit.php:35
if ($handle && !preg_match('@[0-9A-Za-z_]{4,20}$@', $handle))
obviously this will prevent any 2 char long username from 
editing.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-06-14 08:37 UTC] tyra3l at gmail dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.

should be fixed with http://svn.php.net/viewvc?
view=revision&revision=312145
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 19:01:31 2024 UTC