Roxen.git / server / config_interface / dbs / browser.pike

version» Context lines:

Roxen.git/server/config_interface/dbs/browser.pike:347:    catch {    // Check name first since DBManager.get_db_url_info() ignores    // trailing spaces in db name.    if( !(DBManager.valid_db_name( id->variables->name )) )    {    warning = sprintf("<font color='&usr.warncolor;'>"+    _(1149,"<span style=\"white-space: pre;\">"    "'<tt>%s</tt>'</span> "    "is not a valid database name. "    "Please select another name.")+ -  "</font>", id->variables->name ); +  "</font>", +  Roxen.html_encode_string(id->variables->name));    }    else if( db != id->variables->name &&    DBManager.get_db_url_info( id->variables->name ) )    {    warning = sprintf("<font color='&usr.warncolor;'>"+    _(529,"A database with name <tt>%s</tt> "    "already exists. Please select another name.")+    "</font>", id->variables->name );    }    };