Roxen.git
/
server
/
config_interface
/
dbs
/
browser.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/config_interface/dbs/browser.pike:317:
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("<span class='notify warn inline'>"+ _(1149,"<span class='prewrap'>" "'<tt>%s</tt>'</span> " "is not a valid database name. " "Please select another name.")+
-
"</span>", id->variables->name
);
+
"</span>",
+
Roxen.html_encode_string(
id->variables->name)
)
;
} else if( db != id->variables->name && DBManager.get_db_url_info( id->variables->name ) ) { warning = sprintf("<span class='notify warn inline'>"+ _(529,"A database with name <tt>%s</tt> " "already exists. Please select another name.")+ "</span>", id->variables->name ); } };