080a160c7b9595d516c9c70e83689a09b60839d0 galt Mon Jun 3 12:16:53 2013 -0700 fix SQL Injection diff --git src/hg/lib/snp125Exceptions.c src/hg/lib/snp125Exceptions.c index d08175e..30eb978 100644 --- src/hg/lib/snp125Exceptions.c +++ src/hg/lib/snp125Exceptions.c @@ -132,26 +132,26 @@ if (sep == ',') fputc('"',f); fputc(sep,f); if (sep == ',') fputc('"',f); fprintf(f, "%s", el->exception); if (sep == ',') fputc('"',f); fputc(lastSep,f); } /* -------------------------------- End autoSql Generated Code -------------------------------- */ void snp125ExceptionsTableCreate(struct sqlConnection *conn) /* create a snp125Exceptions table */ { char *createString = -"CREATE TABLE snp125Exceptions (\n" +"NOSQLINJ CREATE TABLE snp125Exceptions (\n" " chrom varchar(15) not null,\n" " chromStart int(10) unsigned not null,\n" " chromEnd int(10) unsigned not null,\n" " name varchar(15) not null,\n" " exception varchar(64) not null \n" ")\n"; sqlRemakeTable(conn, "snp125Exceptions", createString); }