I have a field in a MySQL database used for storing the path to an application. It is a UNC path, so it starts with \\, for example \\148.56.132.20\share. If I enter this data on the form, and press the save button, then the data is put into the database correctly. However when I run the form again and the form field initialises from the data in the database, the first slash is missing. So with my example, I get \148.56.132.20\share. If I save the data with a single \, then it saves OK. However when I run the form again, I get 8.56.132.20\share. It looks like the data is not being escaped correctly? Any ideas to get round this?
The problem is sprintf. it parses a string wrong when it begins with slashes? I will try to solve this bug in the afternoon (have to go to school now). Thanks for reporting this bug.