Modified:
branches/guffert/util/installer.c
Log:
updated escaping of DSN params
Modified: branches/guffert/util/installer.c
===================================================================
--- branches/guffert/util/installer.c 2007-09-19 15:50:08 UTC (rev 795)
+++ branches/guffert/util/installer.c 2007-09-22 08:03:25 UTC (rev 796)
@@ -91,6 +91,14 @@
continue;
else if (c >= 'A' && c <= 'Z')
continue;
+ /* other non-alphanumeric characters that don't need escaping */
+ switch (c)
+ {
+ case '_':
+ case ' ':
+ case '.':
+ continue;
+ }
return 1;
}
return 0;
| Thread |
|---|
| • Connector/ODBC 3.51 commit: r796 - branches/guffert/util | jbalint | 22 Sep |