cvs: pearweb /public_html account-edit.php

From: Date: Wed, 30 Nov 2005 00:06:23 +0000
Subject: cvs: pearweb /public_html account-edit.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-36601@lists.php.net to get a copy of this message
pajoye Tue Nov 29 19:06:23 2005 EDT Modified files: /pearweb/public_html account-edit.php Log: - we accept 2 chars handle... http://cvs.php.net/diff.php/pearweb/public_html/account-edit.php?r1=1.48&r2=1.49&ty=u Index: pearweb/public_html/account-edit.php diff -u pearweb/public_html/account-edit.php:1.48 pearweb/public_html/account-edit.php:1.49 --- pearweb/public_html/account-edit.php:1.48 Tue Oct 25 07:49:26 2005 +++ pearweb/public_html/account-edit.php Tue Nov 29 19:06:20 2005 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-edit.php,v 1.48 2005/10/25 11:49:26 mj Exp $ + $Id: account-edit.php,v 1.49 2005/11/30 00:06:20 pajoye Exp $ */ auth_require(); @@ -32,7 +32,7 @@ $handle = false; } -if ($handle && !ereg('^[0-9a-z_]{3,20}$', $handle)) { +if ($handle && !ereg('^[0-9a-z_]{2,20}$', $handle)) { response_header('Error:'); report_error("No valid handle given!"); response_footer();

« previous php.pear.cvs (#36601) next »