Re: [Phpmyadmin-devel] create database: no check on the name ?

"Olivier M." wrote :
Other little thing: seems there are no checks made on the Create DB field (main.php3):
if I type "fadfdppö 'fa'fdax" as db name, it will be created without problem: drwx------ 2 mysql daemon 35 Aug 28 00:45 fadfdppö
\'fa\'fdax
Shouldn't we add a check to see if the name is valid ?
Marc is right: this is a valid db name since MySQL 3.23.6. Moreover I've done some extented tests and phpMyAdmin seems to handle this database name very well :) Loïc ______________________________________________________________________________ ifrance.com, l'email gratuit le plus complet de l'Internet ! vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP... http://www.ifrance.com/_reloc/email.emailif

On Tue, Aug 28, 2001 at 08:35:58PM +0200, Loïc wrote:
"Olivier M." wrote :
Other little thing: seems there are no checks made on the Create DB field (main.php3):
if I type "fadfdppö 'fa'fdax" as db name, it will be created without problem: drwx------ 2 mysql daemon 35 Aug 28 00:45 fadfdppö
\'fa\'fdax
Shouldn't we add a check to see if the name is valid ?
Marc is right: this is a valid db name since MySQL 3.23.6. Moreover I've done some extented tests and phpMyAdmin seems to handle this database name very well :)
but phpMyAdmin not really: when I click on the name in left.php3, it reload both frames, and don't let me create a atable for example. But well, that's a minor issue :) Oli -- _________________________________________________________________ Olivier Mueller - om@8304.ch - PGPkeyID: 0E84D2EA - Switzerland qmail projects: http://omail.omnis.ch - http://webmail.omnis.ch

"Olivier M." a écrit :
but phpMyAdmin not really: when I click on the name in left.php3, it reload both frames, and don't let me create a atable for example. But well, that's a minor issue :)
I have the same behavior while Netscaping. Loïc must be IEing :) Marc

On Tue, 28 Aug 2001, Marc Delisle wrote:
"Olivier M." a écrit :
but phpMyAdmin not really: when I click on the name in left.php3, it reload both frames, and don't let me create a atable for example. But well, that's a minor issue :)
I have the same behavior while Netscaping. Loïc must be IEing :)
Marc
Whoops! Time to shove the table name through urlencode(). -- Ignacio Vazquez-Abrams <ignacio@openservices.net>
participants (4)
-
Ignacio Vazquez-Abrams
-
Loïc
-
Marc Delisle
-
Olivier M.