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

Olivier M. qmail at orion.8304.ch
Tue Aug 28 21:46:47 CEST 2001


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 at 8304.ch - PGPkeyID: 0E84D2EA - Switzerland
qmail projects: http://omail.omnis.ch  -  http://webmail.omnis.ch




More information about the Developers mailing list