c5af95b7146dde46f2d2f70ecad1eb9b4c37b57f galt Mon Feb 3 17:36:09 2025 -0800 Revert "Fixing security concern in hgEncodeVocab. fixes #287. Note that actual full cleanup by removing the unneeded encode/cv.ra from trackDb files has not been done yet., and making the code tolerate its presence or absence in the trackDb.ra files, at the start of the controlledVocabulary setting." This reverts commit 156dbcfc96c9a4a5eba481f8d979700b0ca1024e. diff --git src/hg/lib/cv.c src/hg/lib/cv.c index 15bcaef29bf..70eed9412b2 100644 --- src/hg/lib/cv.c +++ src/hg/lib/cv.c @@ -140,31 +140,31 @@ return ret; } /* TBD char *cvLabDeNormalize(char *minimalTerm) // returns lab name with parenthesized trailing info, by lookup in cv.ra, and restores // other oddities caught by Normalize } */ static char *cvFileRequested = NULL; void cvFileDeclare(const char *filePath) // Declare an altername cv.ra file to use -// (The cv.ra file is normally discovered based upon CGI/Tool and environment) +// (The cv.ra file is normally discovered based upon CGI/Tool and envirnment) { cvFileRequested = cloneString(filePath); } const char *cvFile() // return default location of cv.ra { static char filePath[PATH_LEN]; if (cvFileRequested != NULL) { safecpy(filePath, sizeof(filePath), cvFileRequested); } else { char *root = hCgiRoot();