DO NOT REPLY [Bug 25500] - NullPointer Exception @ James.java:419

2003-12-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 25500] New: - NullPointer Exception @ James.java:419

2003-12-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: escaping of SQL strings

2003-12-13 Thread Serge Knystautas
Richard O. Hammer wrote: I stumbled into this question when, using my James-offshoot server, I sent a test message with a possessive (single quote) in the subject: Subject: Friday's test and it failed with java.sql.SQLException: ERROR: parser: parse error at or near "s" You shouldn't do escaping

escaping of SQL strings

2003-12-13 Thread Richard O. Hammer
When James stores message headers or other text in a database, I assume that it escapes the single-quote characters in those strings (and perhaps a few more characters as needed). But my look at the code this morning does not find that functionality, so I wonder if it is happening somewhere I